]> diplodocus.org Git - nmh/blobdiff - man/ap.man
Simplified m_strn() per Ralph's suggestions.
[nmh] / man / ap.man
index cc5575c815db452c1f7cfdabd330fd56907f1409..46ffebf68699a4d06736844210514a248d226e1a 100644 (file)
@@ -1,29 +1,28 @@
-.TH AP %manext8% "November 6, 2012" "%nmhversion%"
-.\"
+.TH AP %manext8% 2013-12-05 "%nmhversion%"
+.
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
 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
 .SH DESCRIPTION
-.B Ap
+.B ap
 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.
@@ -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
@@ -80,15 +72,16 @@ the address.
 .SH FILES
 .PD 0
 .TP 20
-$HOME/\&.mh\(ruprofile
+$HOME/.mh_profile
 The user's profile.
 .TP
-%etcdir%/mts.conf
+%nmhetcdir%/mts.conf
 The mts configuration file.
 .PD
 .SH "PROFILE COMPONENTS"
 None
 .SH "SEE ALSO"
+.IR fmttest (1),
 .IR dp (8)
 .PP
 .I
@@ -100,8 +93,6 @@ Standard for the Format of ARPA Internet Text Messages
 -format
 As described above.
 .TP
-\-normalize
-.TP
 \-width
 The width of the terminal.
 .PD