COLUMN can be used to list the settings, but they are not in script format.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
You can edit
You can spool the output from running the 'column' command to a file. This will give you the basis of a script but you will need to ensure that each column stsement is on a single line, e.g.
You could either automate the removing of the carriage returns using sed or do it manually with your preferred editor.