X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fap.man;h=e0b5f6321dc910e0a649917dc02ea78867293d80;hb=884c2f0375bc6108a9902bf0971844d34585c418;hp=dcbe70a99fc166c64e23e1603289c5ace9ccd038;hpb=b36e2ab7892cdf30a8b33d02e00af70398013b5d;p=mmh diff --git a/man/ap.man b/man/ap.man index dcbe70a..e0b5f63 100644 --- a/man/ap.man +++ b/man/ap.man @@ -1,12 +1,12 @@ +.TH AP %manext8% "March 6, 2012" "%nmhversion%" .\" .\" %nmhwarning% -.\" $Id$ .\" -.TH AP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME ap \- parse addresses 822-style .SH SYNOPSIS .HP 5 +.na .B %libdir%/ap .RB [ \-form .IR formatfile ] @@ -19,6 +19,7 @@ ap \- parse addresses 822-style .RB [ \-help ] .I addrs \&... +.ad .SH DESCRIPTION .B Ap is a program that parses addresses according to the ARPA @@ -31,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 , @@ -44,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, @@ -52,10 +53,9 @@ In addition to the standard escapes, also recognizes the following additional escape: .PP .RS 5 -.fc ^ ~ .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,31 +77,29 @@ 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'/usr/local/nmh/etc/ExtraBigFileName 'u +.ta \w'%etcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile ^%etcdir%/mts.conf~^nmh mts configuration file - +.fi .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" +.SH DEFAULTS .nf .RB ` \-format "' defaults as described above" .RB ` \-normalize ' .RB ` \-width "' defaults to the width of the terminal" - +.fi .SH CONTEXT None - .SH BUGS The argument to the .B \-format @@ -109,4 +107,4 @@ 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. +one must usually place the argument to this switch inside quotes.