Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / doc / RCS / mhparam.rf,v
1 head    1.2;
2 access;
3 symbols;
4 locks; strict;
5 comment @# @;
6
7
8 1.2
9 date    92.11.16.22.27.09;      author jromine; state Exp;
10 branches;
11 next    1.1;
12
13 1.1
14 date    92.02.06.17.14.05;      author jromine; state Exp;
15 branches;
16 next    ;
17
18
19 desc
20 @contributed by Jeffrey C Honig <jch@@risci.tn.cornell.EDU>
21 @
22
23
24 1.2
25 log
26 @note that procs can be printed; default values will be given
27 @
28 text
29 @.\"    @@(MHWARNING)
30 .\" @@(#)$Id: mhparam.rf,v 1.1 1992/02/06 17:14:05 jromine Exp jromine $
31 .SC MHPARAM 1
32 .NA
33 mhparam \- print MH profile components
34 .SY
35 mhparam
36 \%[components]
37 \%[-all]
38 \%[-component] \%[-nocomponent]
39 \%[\-help]
40 .DE
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)
44 is printed.
45
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.
51
52 If `\-all' is specified, all components if the MH profile are
53 displayed and other arguments are ignored.
54
55 Examples:
56
57 .nf
58 .ta \w'AliasFile:'u+2n
59 .in +.5i
60 % mhparam path
61 Mail
62
63 % mhparam mhlproc
64 @@(MHETCPATH)/mhl
65
66 % mhparam \-component path
67 Path:   Mail
68
69 % mhparam AliasFile rmmproc
70 AliasFile:      aliases
71 rmmproc:        rmmproc
72
73 % mhparam \-nocomponent AliasFile rmmproc
74 aliases
75 rmmproc
76 .in -.5i
77 .fi
78
79 \fIMhparam\fR is also useful in back\-quoted operations:
80
81 .nf
82 .in +.5i
83 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
84
85 .in -.5i
86 .fi
87 .Fi
88 ^$HOME/\&.mh\(ruprofile~^The user profile
89 .Sa
90 mh-profile\|(5)
91 .De
92 `\-nocomponent' if only one component is specified
93 `\-component' if more than one component is specified
94 .Ds
95 `components' defaults to none
96 .Co
97 None
98 .En
99 @
100
101
102 1.1
103 log
104 @Initial revision
105 @
106 text
107 @d2 1
108 a2 1
109 .\" @@(#)$Id: mhparam.rf,v 1.6 90/04/05 15:08:26 sources Exp $
110 d14 3
111 a16 1
112 the standard output separated by newlines.
113 d30 1
114 d35 3
115 d62 1
116 a62 1
117 mh-profile(5)
118 @