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 standard
20 output separated by newlines. Component name matching is
21 case-insensitive. If the profile component is not present, the
22 default value (or nothing if there is no default) is printed.
26 is given, then the component name is displayed
27 along with the profile components value. This can be disabled with the
31 If more than one component is specified in the
36 is on by default. If only one component is
37 specified, then the switch
43 is specified, then all components in the nmh profile are
44 displayed and other arguments are ignored.
46 The locations of two nmh install directories are also available
57 .ta \w'AliasFile:'u+2n
64 % mhparam \-component Path
67 % mhparam AliasFile rmmproc
71 % mhparam \-nocomponent AliasFile rmmproc
75 % mhparam path nonexistent context
88 is also useful in back\-quoted operations:
92 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
97 returns the number of components that were not found.
102 .ta \w'%etcdir%/ExtraBigFileName 'u
103 ^$HOME/.mh_profile~^The user profile
104 ^or $MH~^Rather than the standard profile
105 ^<mh-dir>/context~^The user context
106 ^or $MHCONTEXT~^Rather than the standard context
109 .SH "PROFILE COMPONENTS"
113 .ta \w'ExtraBigProfileName 'u
114 ^context:~^To determine the context file
122 .RB ` \-nocomponent "' if only one component is specified"
123 .RB ` \-component "' if more than one component is specified"
124 .RB ` components "' defaults to none"