0
|
1 .\" @(MHWARNING)
|
12
|
2 .\" @(#)$Id: mhparam.rf,v 1.1.1.1 2005/04/18 14:46:03 kono Exp $
|
0
|
3 .SC MHPARAM 1
|
|
4 .NA
|
|
5 mhparam \- print MH profile components
|
|
6 .SY
|
|
7 mhparam
|
|
8 \%[components]
|
|
9 \%[-all]
|
|
10 \%[-component] \%[-nocomponent]
|
|
11 \%[\-help]
|
|
12 .DE
|
|
13 \fIMhparam\fR writes the value of the specified profile component to
|
|
14 the standard output separated by newlines. If the profile component
|
|
15 is not present, the default value (or nothing if there is no default)
|
|
16 is printed.
|
|
17
|
|
18 If more than one component is specified in the `components' list, the component value is
|
|
19 preceded by the component name. If `\-component' is specified, the
|
|
20 component name is displayed even when only one component is specified.
|
|
21 If `\-nocomponent' is specified, the component name is not displayed
|
|
22 even when more than one component is specified.
|
|
23
|
|
24 If `\-all' is specified, all components if the MH profile are
|
|
25 displayed and other arguments are ignored.
|
|
26
|
|
27 Examples:
|
|
28
|
|
29 .nf
|
|
30 .ta \w'AliasFile:'u+2n
|
|
31 .in +.5i
|
|
32 % mhparam path
|
|
33 Mail
|
|
34
|
|
35 % mhparam mhlproc
|
|
36 @(MHETCPATH)/mhl
|
|
37
|
|
38 % mhparam \-component path
|
|
39 Path: Mail
|
|
40
|
|
41 % mhparam AliasFile rmmproc
|
|
42 AliasFile: aliases
|
|
43 rmmproc: rmmproc
|
|
44
|
|
45 % mhparam \-nocomponent AliasFile rmmproc
|
|
46 aliases
|
|
47 rmmproc
|
|
48 .in -.5i
|
|
49 .fi
|
|
50
|
|
51 \fIMhparam\fR is also useful in back\-quoted operations:
|
|
52
|
|
53 .nf
|
|
54 .in +.5i
|
|
55 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
|
|
56
|
|
57 .in -.5i
|
|
58 .fi
|
|
59 .Fi
|
|
60 ^$HOME/\&.mh\(ruprofile~^The user profile
|
|
61 .Sa
|
|
62 mh-profile\|(5)
|
|
63 .De
|
|
64 `\-nocomponent' if only one component is specified
|
|
65 `\-component' if more than one component is specified
|
|
66 .Ds
|
|
67 `components' defaults to none
|
|
68 .Co
|
|
69 None
|
|
70 .En
|