home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / diskutil / lc / lc.man next >
Encoding:
Text File  |  1989-08-19  |  2.1 KB  |  57 lines

  1. NAME        - lc   list directory and file names in columns
  2.  
  3.  
  4. SYNOPSIS    - lc [-fdsvhan1] [ directory ... ]
  5.  
  6.  
  7. DESCRIPTION
  8.  
  9.     Lc lists the elements of the given directories. The elements are divided
  10.     into the five basic types (files, directories, volume labels, hidden and
  11.     system special files, and pipes) and are printed in alphabetical order.
  12.     They are normally printed 5 to a line, preceeded by a title indicating
  13.     the type, but the -1 option can be used to force single-column untitled
  14.     output.
  15.  
  16.     If the argument list contains more than one name, the contents of the
  17.     directories named in the list are displayed and all other names
  18.     are ignored. If no directory is specified the current working directory
  19.     is listed by default. The special entries ``.'' and ``..'' are normally
  20.     not listed; the -a option causes them to be listed as well.
  21.  
  22.     The -n option turns off all output; this is useful when only the exit
  23.     status is wanted. (The exit status is 0 if something would have been
  24.     printed, 1 otherwise.)
  25.  
  26.     If any of the following option arguments are given,
  27.     lc lists only those types of entries; otherwise, all entries are listed.
  28.  
  29.     The remaining options and their meanings are:
  30.  
  31.         -f      list ordinary files
  32.         -d      list directories
  33.         -s      list all special files
  34.     -v    list volume labels
  35.     -h    list hidden and system files
  36.  
  37.     Lc may be used with the substitution features of the Shell to select
  38.     particular kinds of files (eg, directories) to take part in some
  39.     processing, for example: (if you have a shell that allows this)
  40.  
  41.         ls -l    `lc -1d`
  42.     This lists the contents of all sub-directories of the current directory.
  43.  
  44. BUGS:
  45.    If you have too many files in a directory (folder), and you issue
  46.    the command "lc *" from a shell, "lc" will complain.  However,
  47.    in such cases, the command "lc" works just fine.
  48. NOTE:
  49.    Copyright University of Waterloo, 1978,1985,1987.
  50.    Ported to the Atari ST by
  51.      Je'ro^me M. Lang    
  52.      Department of Applied Math
  53.      University of Waterloo
  54.      Waterloo, Ontario, N2L 3G1
  55.  
  56.      jmlang@water.bitnet
  57.