1 .TH AP %manext8% "December 4, 2013" "%nmhversion%"
6 ap \- parse addresses RFC 822-style
24 is a program that parses addresses according to the ARPA
25 Internet standard. It also understands many non\-standard formats.
26 It is useful for seeing how
28 will interpret an address.
32 program treats each argument as one or more addresses, and
33 prints those addresses out in the official RFC 822 format. Hence, it is
34 usually best to enclose each argument in quotes for the shell.
36 To override the output format used by
44 switches are used. This permits individual fields of
45 the address to be extracted with ease. The string is simply a format
46 string, and the file is simply a format file. See
50 In addition to the standard escapes,
52 also recognizes the following additional escape:
56 .ta \w'Escape 'u +\w'Returns 'u
57 .I "Escape Returns Description"
58 error string A diagnostic if the parse failed
62 Here is the default format string used by
66 %<{error}%{error}: %{text}%|%(putstr(proper{text}))%>
69 which says that if an error was detected, print the error, a `:', and
70 the address in error. Otherwise, output the RFC 822\-proper format of
75 $HOME/\&.mh\(ruprofile
79 The mts configuration file.
81 .SH "PROFILE COMPONENTS"
87 Standard for the Format of ARPA Internet Text Messages
96 The width of the terminal.