X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..3dc0fe0bcb41205700cf9229cb6d7bbfd95a3c2a:/man/ap.man diff --git a/man/ap.man b/man/ap.man index c77b39ed..52d6c522 100644 --- a/man/ap.man +++ b/man/ap.man @@ -1,7 +1,7 @@ +.TH AP %manext8% "November 6, 2012" "%nmhversion%" .\" .\" %nmhwarning% .\" -.TH AP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME ap \- parse addresses 822-style .SH SYNOPSIS @@ -32,7 +32,7 @@ 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 -usually best to enclose each argument in double\-quotes for the shell. +usually best to enclose each argument in quotes for the shell. .PP To override the output format used by .BR ap , @@ -45,7 +45,7 @@ or switches are used. This permits individual fields of the address to be extracted with ease. The string is simply a format string, and the file is simply a format file. See -.BR mh\-format (5) +.IR mh\-format (5) for the details. .PP In addition to the standard escapes, @@ -55,7 +55,7 @@ also recognizes the following additional escape: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" error string A diagnostic if the parse failed .RE .fi @@ -77,38 +77,33 @@ Here is the default format string used by 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. - .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 +%etcdir%/mts.conf +The mts configuration file. +.PD .SH "PROFILE COMPONENTS" None - .SH "SEE ALSO" -dp(8), -.I "Standard for the Format of ARPA Internet Text Messages" +.IR dp (8) +.PP +.I +Standard for the Format of ARPA Internet Text Messages (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 +\-normalize +.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 double\-quotes.