envp
Lists (in precedence order) the environment assignments accessible to the program. All types of environment assignments are listed, including those made via environment files, command line flags, shell variables, and the preferences file. The listing is ordered by the precedence of the preference assignments, with highest precedence assignments listed first. The standard preference enva produces the same list, but in alphabetic order.
This preference can be used only from the command line.
| Data Type | Default Value |
|---|---|
| boolean | FALSE |
Because the list of environment assignments produced by this preference is comprehensive, it includes preferences with misspelled names, invalid values, and even shell variables that do not apply to programs. This is particularly useful for diagnostic purposes because it can pinpoint assignment problems. For instance, when an incorrect preference name is used, it shows up in the envp listing, but not in the sconfirm listing. It is common for envp to be used in conjunction with the sconfirm and dconfirm standard preferences.