]> diplodocus.org Git - nmh/commitdiff
mh-profile.man: rewrite the Profile Lookup section for clarity
authorPaul Fox <pgf@foxharp.boston.ma.us>
Tue, 10 Jun 2014 03:21:35 +0000 (23:21 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Tue, 10 Jun 2014 03:23:41 +0000 (23:23 -0400)
thanks to Ralph Corderoy for the text.

man/mh-profile.man

index f34ac4ba8e497829e4800256cc0ee746c93c146f..3ebae8baec65d1775c4c6faaa3c645f3dbb323a6 100644 (file)
@@ -672,26 +672,17 @@ This is the program used by
 to determine to whom a message would be sent.
 .RE
 .SS "Profile Lookup"
 to determine to whom a message would be sent.
 .RE
 .SS "Profile Lookup"
-Some
-.B nmh
-programs will look in more than just the user's 
-.I \&.mh\(ruprofile
-for profile entries.  In particular, 
-.BR mhbuild ,
-.BR mhshow ,
-.BR mhstore ,
-and
-.BR mhn 
-will also all look in a file specified by a program-specific
-environment variable (see below), and after that in 
-the system-installed profile (%etcdir%/mhn.defaults).  (The
-.B mhfixmsg
-program is similar, but doesn't consult an environment variable.)
-The first match found for a particular component will be used,
-allowing user-supplied entries to override those that are system-supplied.
-A profile component with a blank value field will "hide" any later
-occurrences of the component, and will make the entry appear to be
-absent.
+After consulting .mh_profile,
+some programs read an optional profile specified by a
+program-specific environment variable,
+and then the system-wide profile %etcdir%/mhn.defaults.
+These programs are mhbuild, mhshow, mhstore, and mhn.
+mhfixmsg is similar, but has no optional profile.
+
+The first occurrence of a component is used,
+e.g.\& .mh_profile's trumps $MHSHOW's.
+A component with no value still stops further occurrences being used,
+but is considered absent.
 .SS "Environment Variables"
 The operation of
 .B nmh
 .SS "Environment Variables"
 The operation of
 .B nmh