4 .TH MHPARAM %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mhparam \- print nmh profile and context components
12 .RB [ \-component " | " \-nocomponent ]
18 writes the value of the specified profile component to the
19 standard output separated by newlines. If the profile component is not
20 present, the default value (or nothing if there is no default) is printed.
24 is given, then the component name is displayed
25 along with the profile components value. This can be disabled with the
29 If more than one component is specified in the
34 is on by default. If only one component is
35 specified, then the switch
41 is specified, then all components in the nmh profile are
42 displayed and other arguments are ignored.
48 .ta \w'AliasFile:'u+2n
55 % mhparam \-component path
58 % mhparam AliasFile rmmproc
62 % mhparam \-nocomponent AliasFile rmmproc
66 % mhparam path nonexistent context
73 is also useful in back\-quoted operations:
77 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
82 returns the number of components that were not found.
87 .ta \w'%etcdir%/ExtraBigFileName 'u
88 ^$HOME/.mh_profile~^The user profile
89 ^or $MH~^Rather than the standard profile
90 ^<mh-dir>/context~^The user context
91 ^or $MHCONTEXT~^Rather than the standard context
94 .SH "PROFILE COMPONENTS"
98 .ta \w'ExtraBigProfileName 'u
99 ^context:~^To determine the context file
107 .RB ` \-nocomponent "' if only one component is specified"
108 .RB ` \-component "' if more than one component is specified"
109 .RB ` components "' defaults to none"