4 .TH MHPARAM %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mhparam \- print nmh profile and context components
12 .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.
47 is specified, then all available components \(en those in
48 the nmh profile and some internal ones \(en are
55 .ta \w'AliasFile:'u+2n
62 % mhparam \-component path
65 % mhparam AliasFile rmmproc
69 % mhparam \-nocomponent AliasFile rmmproc
73 % mhparam path nonexistent context
80 is also useful in back\-quoted operations:
84 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
89 returns the number of components that were not found.
94 .ta \w'%etcdir%/ExtraBigFileName 'u
95 ^$HOME/.mh_profile~^The user profile
96 ^or $MH~^Rather than the standard profile
97 ^<mh-dir>/context~^The user context
98 ^or $MHCONTEXT~^Rather than the standard context
101 .SH "PROFILE COMPONENTS"
105 .ta \w'ExtraBigProfileName 'u
106 ^context:~^To determine the context file
114 .RB ` \-nocomponent "' if only one component is specified"
115 .RB ` \-component "' if more than one component is specified"
116 .RB ` components "' defaults to none"