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 mmh profile and context
43 (including comments) are displayed and other arguments are ignored.
47 is specified, then a defined set of internal profile entries are
54 .ta \w'LongEntry:'u+2n
61 % mhparam \-component path
64 % mhparam AliasFile rmmproc
68 % mhparam \-nocomponent AliasFile rmmproc
72 % mhparam path nonexistent context
79 is also useful in back\-quoted operations:
83 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
88 returns the number of components that were not found.
93 .ta \w'%etcdir%/ExtraBigFileName 'u
94 ^$HOME/.mmh/profile~^The user profile
95 ^or $MMHP~^Rather than the standard profile
96 ^$HOME/.mmh/context~^The user context
97 ^or $MMHC~^Rather than the standard context
100 .SH "PROFILE COMPONENTS"
104 .ta \w'ExtraBigProfileName 'u
105 ^Context:~^To determine the context file
113 .RB ` \-nocomponent "' if only one component is specified"
114 .RB ` \-component "' if more than one component is specified"
115 .RB ` components "' defaults to none"