MHPARAM(1) [mh.6] (MH.6.8) MHPARAM(1)
NAME
mhparam - print MH profile components
SYNOPSIS
mhparam [components] [-all] [-component] [-nocomponent]
[-help]
DESCRIPTION
Mhparam writes the value of the specified profile component
to the standard output separated by newlines. If the
profile component is not present, the default value (or
nothing if there is no default) is printed.
If more than one component is specified in the `components'
list, the component value is preceded by the component name.
If `-component' is specified, the component name is
displayed even when only one component is specified. If
`-nocomponent' is specified, the component name is not
displayed even when more than one component is specified.
If `-all' is specified, all components if the MH profile are
displayed and other arguments are ignored.
Examples:
% mhparam path
Mail
% mhparam mhlproc
/usr/local/lib/mh/mhl
% mhparam -component path
Path: Mail
% mhparam AliasFile rmmproc
AliasFile: aliases
rmmproc: rmmproc
% mhparam -nocomponent AliasFile rmmproc
aliases
rmmproc
Mhparam is also useful in back-quoted operations:
% fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
FILES
$HOME/.mh_profile The user profile
SEE ALSO
mh-profile(5)
Page 1 (printed 9/30/94)
MHPARAM(1) [mh.6] (MH.6.8) MHPARAM(1)
DEFAULTS
`-nocomponent' if only one component is specified
`-component' if more than one component is specified
`components' defaults to none
CONTEXT
None
Page 2 (printed 9/30/94)