source: trunk/third/nmh/man/mhparam.man @ 12455

Revision 12455, 1.7 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: mhparam.man,v 1.1.1.1 1999-02-07 18:14:21 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH MHPARAM %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10mhparam \- print nmh profile components
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14mhparam
15\%[components]
16\%[-all]
17\%[-component] \%[-nocomponent]
18.br
19\%[\-version]
20\%[\-help]
21.in -.5i
22.SH DESCRIPTION
23\fIMhparam\fR writes the value of the specified profile component to the
24standard output separated by newlines.  If the profile component is not
25present, the default value (or nothing if there is no default) is printed.
26
27If the switch `\-component' is given, then the component name is displayed
28along with the profile components value.  This can be disabled with the
29switch `\-nocomponent'.
30
31If more than one component is specified in the `components' list, then
32the switch `\-component' is on by default.  If only one component is
33specified, then the switch `\-nocomponent' is on by default.
34
35If `\-all' is specified, then all components in the nmh profile are
36displayed and other arguments are ignored.
37
38Examples:
39
40.nf
41.ta \w'AliasFile:'u+2n
42.in +.5i
43% mhparam path
44Mail
45
46% mhparam mhlproc
47%libdir%/mhl
48
49% mhparam \-component path
50Path: Mail
51
52% mhparam AliasFile rmmproc
53AliasFile: aliases
54rmmproc: rmmproc
55
56% mhparam \-nocomponent AliasFile rmmproc
57aliases
58rmmproc
59.in -.5i
60.fi
61
62\fIMhparam\fR is also useful in back\-quoted operations:
63
64.nf
65.in +.5i
66% fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
67
68.in -.5i
69.fi
70.Fi
71^$HOME/\&.mh\(ruprofile~^The user profile
72.Sa
73mh-profile\|(5)
74.De
75`\-nocomponent' if only one component is specified
76`\-component' if more than one component is specified
77.Ds
78`components' defaults to none
79.Co
80None
81.En
Note: See TracBrowser for help on using the repository browser.