Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sortm(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

MH

mh-profile

sortm

PURPOSE

     Sorts messages.

SYNOPSIS
      sortm [+folder][msgs][-datefield field][-verbose]
            [-noverbose][-help]


DESCRIPTION

     The sortm  command is used  to sort messages.   The sortm
     command is part of the  MH (Message Handling) package and
     can be used with MH and AIX commands.

     The  sortm command  sorts the  messages according  to the
     date in  a header  field.  By  default, sortm  parses the
     Date:, but you can can use the -datefield flag to specify
     another field.  sortm numbers the sorted messages consec-
     utively beginning with 1 (one).  Messages that are in the
     folder, but not specified to  be sorted, are placed after
     the  sorted messages.   sortm  displays a  message if  it
     cannot parse a date field.

FLAGS

     -datefield field  Specifies the  header field to  be used
                       in  the  sort.   The default  field  is
                       Date:.
     +folder msgs      Specifies  the messages  to be  sorted.
                       You can  use use the  following message
                       references when specifying msgs:

                       num                    first                   prev
                       cur                    .                       next
                       last                   all                     sequence

                       The  default  is  all messages  in  the
                       current  folder.   If   you  specify  a
                       folder, it becomes  the current folder.
                       The current message remains the current
                       message,  even if  it moves  during the
                       sort.
     -help             Displays   help  information   for  the
                       command.
     -noverbose        Does not display information during the
                       sort.  This flag is the default.
     -verbose          Displays  information during  the sort.
                       This information allows  you to monitor
                       the steps involved.

PROFILE ENTRIES

     Current-Folder:    Sets your default current folder.
     Path:              Specifies your user_mh_directory.

FILES

     $HOME/.mh_profile    The MH user profile.

RELATED INFORMATION

     The MH command "folder."

     The  mh-profile file  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