5 .TH MHPARAM %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
7 mhparam \- print nmh profile components
12 .RB [ \-component " | " \-nocomponent ]
17 writes the value of the specified profile component to the
18 standard output separated by newlines. If the profile component is not
19 present, the default value (or nothing if there is no default) is printed.
23 is given, then the component name is displayed
24 along with the profile components value. This can be disabled with the
28 If more than one component is specified in the
33 is on by default. If only one component is
34 specified, then the switch
40 is specified, then all components in the nmh profile are
41 displayed and other arguments are ignored.
47 .ta \w'AliasFile:'u+2n
54 % mhparam \-component path
57 % mhparam AliasFile rmmproc
61 % mhparam \-nocomponent AliasFile rmmproc
68 is also useful in back\-quoted operations:
72 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
80 .ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u
81 ^$HOME/\&.mh\(ruprofile~^The user profile
89 .RB ` \-nocomponent "' if only one component is specified"
90 .RB ` \-component "' if more than one component is specified"
91 .RB ` components "' defaults to none"