]> diplodocus.org Git - nmh/blobdiff - man/ap.man
uip/mhparse.c: Fix body starting a byte too soon when no blank line.
[nmh] / man / ap.man
index 52d6c522ddbe967b95e4eb4159c4b4ea0265cb60..46ffebf68699a4d06736844210514a248d226e1a 100644 (file)
@@ -1,29 +1,28 @@
-.TH AP %manext8% "November 6, 2012" "%nmhversion%"
-.\"
+.TH AP %manext8% 2013-12-05 "%nmhversion%"
+.
 .\" %nmhwarning%
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
 .SH NAME
-ap \- parse addresses 822-style
+ap \- parse addresses RFC 822-style
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/ap
+.B %nmhlibexecdir%/ap
+.RB [ \-help ]
+.RB [ \-version ]
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
 .IR string ]
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
 .IR string ]
-.RB [ \-normalize " | " \-nonormalize ]
 .RB [ \-width
 .IR columns ]
 .RB [ \-width
 .IR columns ]
-.RB [ \-version ]
-.RB [ \-help ] 
 .I addrs
 \&...
 .ad
 .SH DESCRIPTION
 .I addrs
 \&...
 .ad
 .SH DESCRIPTION
-.B Ap
+.B ap
 is a program that parses addresses according to the ARPA
 is a program that parses addresses according to the ARPA
-Internet standard.  It also understands many non\-standard formats.
+Internet standard.  It also understands many non-standard formats.
 It is useful for seeing how
 .B nmh
 will interpret an address.
 It is useful for seeing how
 .B nmh
 will interpret an address.
@@ -31,7 +30,7 @@ will interpret an address.
 The
 .B ap
 program treats each argument as one or more addresses, and
 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
 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
 .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
 Here is the default format string used by
 .BR ap :
 .PP
@@ -75,33 +67,32 @@ Here is the default format string used by
 .RE
 .PP
 which says that if an error was detected, print the error, a `:', and
 .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
 .PD 0
 .TP 20
 the address.
 .SH FILES
 .PD 0
 .TP 20
-$HOME/\&.mh\(ruprofile
+$HOME/.mh_profile
 The user's profile.
 .TP
 The user's profile.
 .TP
-%etcdir%/mts.conf
+%nmhetcdir%/mts.conf
 The mts configuration file.
 .PD
 .SH "PROFILE COMPONENTS"
 None
 .SH "SEE ALSO"
 The mts configuration file.
 .PD
 .SH "PROFILE COMPONENTS"
 None
 .SH "SEE ALSO"
+.IR fmttest (1),
 .IR dp (8)
 .PP
 .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)
+(RFC 822)
 .SH DEFAULTS
 .PD 0
 .TP 20
 -format
 As described above.
 .TP
 .SH DEFAULTS
 .PD 0
 .TP 20
 -format
 As described above.
 .TP
-\-normalize
-.TP
 \-width
 The width of the terminal.
 .PD
 \-width
 The width of the terminal.
 .PD