X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/95e9c4e6befb17ca3e691c26f024fb55eeae5e31..9f8418e870a70c264eda1598f2d470e5428c216d:/man/ap.man diff --git a/man/ap.man b/man/ap.man index 7c9a8a99..e3449592 100644 --- a/man/ap.man +++ b/man/ap.man @@ -1,22 +1,21 @@ -.TH AP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] +.TH AP %manext8% "December 4, 2013" "%nmhversion%" .\" .\" %nmhwarning% .\" .SH NAME -ap \- parse addresses 822-style +ap \- parse addresses RFC 822-style .SH SYNOPSIS .HP 5 .na -.B %libdir%/ap +.B %nmhlibexecdir%/ap +.RB [ \-help ] +.RB [ \-version ] .RB [ \-form .IR formatfile ] .RB [ \-format .IR string ] -.RB [ \-normalize " | " \-nonormalize ] .RB [ \-width .IR columns ] -.RB [ \-version ] -.RB [ \-help ] .I addrs \&... .ad @@ -31,7 +30,7 @@ will interpret an address. The .B ap program treats each argument as one or more addresses, and -prints those addresses out in the official 822\-format. Hence, it is +prints those addresses out in the official RFC 822 format. Hence, it is usually best to enclose each argument in quotes for the shell. .PP To override the output format used by @@ -60,13 +59,6 @@ error string A diagnostic if the parse failed .RE .fi .PP -If the -.B \-normalize -switch is given, -.B ap -will try to track down -the official hostname of the address. -.PP Here is the default format string used by .BR ap : .PP @@ -75,15 +67,17 @@ Here is the default format string used by .RE .PP which says that if an error was detected, print the error, a `:', and -the address in error. Otherwise, output the 822\-proper format of +the address in error. Otherwise, output the RFC 822\-proper format of the address. .SH FILES -.fc ^ ~ -.nf -.ta \w'%etcdir%/ExtraBigFileName 'u -^$HOME/\&.mh\(ruprofile~^The user profile -^%etcdir%/mts.conf~^nmh mts configuration file -.fi +.PD 0 +.TP 20 +$HOME/\&.mh\(ruprofile +The user's profile. +.TP +%nmhetcdir%/mts.conf +The mts configuration file. +.PD .SH "PROFILE COMPONENTS" None .SH "SEE ALSO" @@ -91,20 +85,15 @@ None .PP .I Standard for the Format of ARPA Internet Text Messages -(RFC\-822) +(RFC 822) .SH DEFAULTS -.nf -.RB ` \-format "' defaults as described above" -.RB ` \-normalize ' -.RB ` \-width "' defaults to the width of the terminal" -.fi +.PD 0 +.TP 20 +-format +As described above. +.TP +\-width +The width of the terminal. +.PD .SH CONTEXT None -.SH BUGS -The argument to the -.B \-format -switch must be interpreted as a single token -by the shell that invokes -.BR ap . -Therefore, -one must usually place the argument to this switch inside quotes.