Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ap(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ali

dp

scan

mh-alias

mh-format

and mh-profile

ap

PURPOSE

     Parses and reformats addresses.

SYNOPSIS
      ap [-form file format string][-normalize -nonormalize]
                        [-width num]user...[-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.   The  ap
     command is part of the MH (Message Handling) 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 nick-
                     names  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.
     -width num      Sets the  maximum number of  columns that
                     ap uses  to display dates and  error mes-
                     sages.  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

     Other MH commands:  "ali," "dp,"  "scan."

     The  mh-alias, mh-format,  and  mh-profile  files in  AIX
     Operating System Technical Reference.

     The "Overview  of the  Message Handling Package"  in Man-
     aging the AIX Operating System.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026