9 date 92.11.16.22.27.09; author jromine; state Exp;
14 date 92.02.06.17.14.05; author jromine; state Exp;
20 @contributed by Jeffrey C Honig <jch@@risci.tn.cornell.EDU>
26 @note that procs can be printed; default values will be given
30 .\" @@(#)$Id: mhparam.rf,v 1.1 1992/02/06 17:14:05 jromine Exp jromine $
33 mhparam \- print MH profile components
38 \%[-component] \%[-nocomponent]
41 \fIMhparam\fR writes the value of the specified profile component to
42 the standard output separated by newlines. If the profile component
43 is not present, the default value (or nothing if there is no default)
46 If more than one component is specified in the `components' list, the component value is
47 preceded by the component name. If `\-component' is specified, the
48 component name is displayed even when only one component is specified.
49 If `\-nocomponent' is specified, the component name is not displayed
50 even when more than one component is specified.
52 If `\-all' is specified, all components if the MH profile are
53 displayed and other arguments are ignored.
58 .ta \w'AliasFile:'u+2n
66 % mhparam \-component path
69 % mhparam AliasFile rmmproc
73 % mhparam \-nocomponent AliasFile rmmproc
79 \fIMhparam\fR is also useful in back\-quoted operations:
83 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
88 ^$HOME/\&.mh\(ruprofile~^The user profile
92 `\-nocomponent' if only one component is specified
93 `\-component' if more than one component is specified
95 `components' defaults to none
109 .\" @@(#)$Id: mhparam.rf,v 1.6 90/04/05 15:08:26 sources Exp $
112 the standard output separated by newlines.