diff doc/mhparam.me @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/mhparam.me	Mon Apr 18 23:46:02 2005 +0900
@@ -0,0 +1,70 @@
+.\"	This file is automatically generated.  Do not edit!
+.\" @(#)$Id$
+.SC MHPARAM 1
+.NA
+mhparam \- print MH profile components
+.SY
+mhparam
+\%[components]
+\%[-all]
+\%[-component] \%[-nocomponent]
+\%[\-help]
+.DE
+\fIMhparam\fR 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:
+
+.nf
+.ta \w'AliasFile:'u+2n
+.in +.5i
+% mhparam path
+Mail
+
+% mhparam mhlproc
+/usr/local/mh/lib/mhl
+
+% mhparam \-component path
+Path:	Mail
+
+% mhparam AliasFile rmmproc
+AliasFile:	aliases
+rmmproc:	rmmproc
+
+% mhparam \-nocomponent AliasFile rmmproc
+aliases
+rmmproc
+.in -.5i
+.fi
+
+\fIMhparam\fR is also useful in back\-quoted operations:
+
+.nf
+.in +.5i
+% fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
+
+.in -.5i
+.fi
+.Fi
+^$HOME/\&.mh\(ruprofile~^The user profile
+.Sa
+mh-profile\|(5)
+.De
+`\-nocomponent' if only one component is specified
+`\-component' if more than one component is specified
+.Ds
+`components' defaults to none
+.Co
+None
+.En