Home Theory News Documentation Download Bio |
Environment variables are also used to control internal mpsh settings.
True/False settings can be "true", "false", or 1 or 0.
The internal settings are:
mpsh-version - version string For the four verbosity levels, error messages are formatted:
0: none For example, the same error with different error level settings:
mpsh$ setenv mpsh-error-level=1 mpsh$ date > /sdfasdf mpsh: Error redirecting stdout mpsh$ setenv mpsh-error-level=3 mpsh$ date > /sdfasdf mpsh: Error redirecting stdout [/sdfasdf] Permission denied Internal setting variables do not get passed to child processes, but will expand on the command line:
mpsh$ echo $mpsh-version Show mpsh internal settings:
mpsh$ setenv -si mpsh$ setenv -qi Reset mpsh internal settings to defaults:
mpsh$ setenv -ci
|