

RAR                             5/2/81                             RAR


NAME
       rar - rearrange archive

SYNOPSIS
       rar [-cv] archname

DESCRIPTION
       `rar'  permits  the rearrangement of the modules of an archive,
       `archname'.  `rar' opens `archname' and  notes  the  names  and
       starting  address  of  each module.  It then reads the names of
       modules  from  standard  input  and  outputs  each  module   so
       indicated  to  standard  output.   Upon  detecting  an  EOF  on
       standard input, any modules not yet output are written  out  in
       the order found in the original archive.

       Switches:

         -c Suppresses  the  output  of  modules  not specified on the
            standard input. This  permits  the  selection  of  only  a
            subset of the original archive's modules.
            
         -v Print the name of each module on error output after it has
            been successfully output to the standard output.

       Example of use:

            Suppose that you wish to create a new version (newarch) of
            an  archive  (oldarch)  with  all of the modules sorted by
            name.  The following shell command will suffice:
            
            ar t oldarch | sort | rar -v oldarch >newarch
            

FILES
       None

SEE ALSO
       ar - archive file maintainer

DIAGNOSTICS
       

AUTHORS
       Joe Sventek

BUGS
       






                                 -1-                                  

