1 .TH MHPARAM %manext1% "November 6, 2012" "%nmhversion%"
6 mhparam \- print nmh profile and context components
13 .RB [ \-component " | " \-nocomponent ]
20 writes the value of the specified profile component to the standard
21 output separated by newlines. Component name matching is
22 case-insensitive. If the profile component is not present, the
23 default value (or nothing if there is no default) is printed.
27 is given, then the component name is displayed
28 along with the profile components value. This can be disabled with the
32 If more than one component is specified in the
37 is on by default. If only one component is
38 specified, then the switch
44 is specified, then all components in the nmh profile are
45 displayed and other arguments are ignored.
48 can provide other information, such as
49 the locations of the nmh
53 install directories, all
55 settings, and the locking method with which the
57 installation was configured. The
59 switch displays all such other information available from
66 .ta \w'AliasFile:'u+2n
73 % mhparam \-component Path
76 % mhparam AliasFile rmmproc
80 % mhparam \-nocomponent AliasFile rmmproc
84 % mhparam path nonexistent context
100 is also useful in backquoted operations:
104 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
108 returns the number of components that were not found.
112 .ta \w'%etcdir%/ExtraBigFileName 'u
113 ^$HOME/.mh_profile~^The user profile
114 ^or $MH~^Rather than the standard profile
115 ^<mh-dir>/context~^The user context
116 ^or $MHCONTEXT~^Rather than the standard context
118 .SH "PROFILE COMPONENTS"
122 .ta \w'ExtraBigProfileName 'u
123 ^context:~^To determine the context file
129 .RB ` \-nocomponent "' if only one component is specified"
130 .RB ` \-component "' if more than one component is specified"
131 .RB ` components "' defaults to none"