ap \- parse addresses 822-style
.SH SYNOPSIS
.HP 5
+.na
.B %libdir%/ap
.RB [ \-form
.IR formatfile ]
.IR columns ]
.RB [ \-version ]
.RB [ \-help ]
-.IR addrs " ..."
+.I addrs
+\&...
+.ad
.SH DESCRIPTION
.B Ap
is a program that parses addresses according to the ARPA
To override the output format used by
.BR ap ,
the
-.BI \-format " string"
+.B \-format
+.I string
or
-.BI \-format " file"
+.B \-format
+.I file
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
also recognizes the following additional escape:
.PP
.RS 5
-.fc ^ ~
.nf
.ta \w'Escape 'u +\w'Returns 'u
.I Escape Returns Description
.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),
-.IR "Standard for the Format of ARPA Internet Text Messages" " (RFC\-822)"
+.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