AP(1m,C) AIX Commands Reference AP(1m,C) ------------------------------------------------------------------------------- ap PURPOSE Parses and reformats addresses. SYNTAX +--------------------+ +--- -normalize ---+ +--------------+ ap ---| one of |-| one of |-| |--- user ---| | +----------------+ | | +--------------+ | +- -width num -+ ^ | +-| -form file |-+ +-| -normalize |-+ +--------+ | -format string | | -nonormalize | +----------------+ +--------------+ ap --- -help ---| DESCRIPTION The ap command is used to parse and reformat addresses. ap is not designed to be run directly by the user; it is designed to be called by other programs. The ap command is typically called by its full path name, and is part of the Message Handling (MH) package. The ap command parses each string specified as an address and attempts to reformat the string. The default output format for ap is the ARPA RFC822 standard. When the default format is used, ap displays an error message for each string it is unable to parse. FLAGS -form file Reformats the given addresses into the alternate format described in file. -format string Reformats the given addresses into the alternate format specified by string. The default format string is: %<{error}%{error}:%{address}%|%(putstr(proper{address}))%> -help Displays help information for the command. -nonormalize Does not attempt to convert local nicknames of hosts to their official host names. -normalize Attempts to convert local nicknames of hosts to their official host names. This flag is the default. Processed November 8, 1990 AP(1m,C) 1 AP(1m,C) AIX Commands Reference AP(1m,C) -width num Sets the maximum number of columns that ap uses to display dates and error messages. The default is the width of the display. FILES $HOME/.mh_profile The MH user profile. /usr/lib/mh/mtstailor The MH tailor file. RELATED INFORMATION See other MH commands: "ali," "dp" and "scan." See the mh-alias, mh-format, and mh-profile files in AIX Operating System Technical Reference. See "Overview of the Message Handling Package" in Managing the AIX Operating System. Processed November 8, 1990 AP(1m,C) 2