1MHPARAM(1) [nmh-1.2-20070115cvs] MHPARAM(1)
2
3
4
6 mhparam - print nmh profile components
7
9 mhparam [components] [-all] [-component | -nocomponent] [-version]
10 [-help]
11
13 Mhparam writes the value of the specified profile component to the
14 standard output separated by newlines. If the profile component is not
15 present, the default value (or nothing if there is no default) is
16 printed.
17
18 If the switch -component is given, then the component name is displayed
19 along with the profile components value. This can be disabled with the
20 switch -nocomponent.
21
22 If more than one component is specified in the components list, then
23 the switch -component is on by default. If only one component is spec‐
24 ified, then the switch -nocomponent is on by default.
25
26 If -all is specified, then all components in the nmh profile are dis‐
27 played and other arguments are ignored.
28
29 Examples:
30
31 % mhparam path
32 Mail
33
34 % mhparam mhlproc
35 /usr/libexec/nmh/mhl
36
37 % mhparam -component path
38 Path: Mail
39
40 % mhparam AliasFile rmmproc
41 AliasFile: aliases
42 rmmproc: rmmproc
43
44 % mhparam -nocomponent AliasFile rmmproc
45 aliases
46 rmmproc
47
48 Mhparam is also useful in back-quoted operations:
49
50 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
51
53 $HOME/.mh_profile The user profile
54
55
57 mh-profile(5)
58
59
61 `-nocomponent' if only one component is specified
62 `-component' if more than one component is specified
63 `components' defaults to none
64
65
67 None
68
69
70
71MH.6.8 1 Jul 2003 MHPARAM(1)