

     LS                          08-MAY-81                          LS


     NAME
        
        ls - list contents of directory
        
     SYNOPSIS
        
        ls [-1dhnrtv] [pathname] ...
        
     DESCRIPTION
        
        ls  lists  information  about  each  file  argument.   When no
        argument is given, the default directory is listed.  The  file
        arguments  may  include  any  of the legal regular expressions
        described in the man entry for  the  editor,  with  the  added
        feature  that  the  comparisons  will  be case insensitive. By
        default, the files are listed in the order in which  they  are
        found in the directory.  There are six options:
        
        -1 force single column output to the terminal.  The default is
           multi-column output to the terminal, single to a disk file.
        -d print only directory files found in this directory
        -h print a header at the top of verbose listings
        -n sort the directory by name
        -v list in verbose format
        -t sort by time modified (oldest first)
        -r reverse the sense of the sort
           
        As an example of usage of ls, the following command will cause
        all  of the files which contain the string tst anywhere in the
        file name to be deleted:
        
           % ls tst | args rm
        
     FILES
        
        lstemp1, lstemp2
        
     AUTHOR
        
        Joe Sventek wrote ls.
        
     SEE ALSO
        
        ed - text editor for description of regular expressions
        args - argument exploder








                                    -1-                               

