4 .TH MHPARAM %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mhparam \- print nmh profile and context components
13 .RB [ \-component " | " \-nocomponent ]
19 writes the value of the specified profile component to the
20 standard output separated by newlines. If the profile component is not
21 present, the default value (or nothing if there is no default) is printed.
25 is given, then the component name is displayed
26 along with the profile components value. This can be disabled with the
30 If more than one component is specified in the
35 is on by default. If only one component is
36 specified, then the switch
42 is specified, then all components in the nmh profile are
43 displayed and other arguments are ignored.
49 .ta \w'AliasFile:'u+2n
56 % mhparam \-component path
59 % mhparam AliasFile rmmproc
63 % mhparam \-nocomponent AliasFile rmmproc
67 % mhparam path nonexistent context
74 is also useful in back\-quoted operations:
78 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
83 returns the number of components that were not found.
88 .ta \w'%etcdir%/ExtraBigFileName 'u
89 ^$HOME/.mh_profile~^The user profile
90 ^or $MH~^Rather than the standard profile
91 ^<mh-dir>/context~^The user context
92 ^or $MHCONTEXT~^Rather than the standard context
95 .SH "PROFILE COMPONENTS"
99 .ta \w'ExtraBigProfileName 'u
100 ^context:~^To determine the context file
108 .RB ` \-nocomponent "' if only one component is specified"
109 .RB ` \-component "' if more than one component is specified"
110 .RB ` components "' defaults to none"