home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 066.lha / c / d.doc < prev    next >
Encoding:
Text File  |  1986-11-20  |  1.7 KB  |  44 lines

  1. Program:    D  directory utility
  2.  
  3. By:         Gregg Reno
  4.             60 Deanna Drive #153
  5.             Somerville, N.J. 08876
  6.  
  7.             PLINK:  OKR621
  8.  
  9. Description:
  10.  
  11.    This program can replace both of the CLI commands DIR and LIST.  I wrote
  12. it to require as few keystrokes as possible.  Also included is the lattice
  13. C 3.1 SPECIFIC source code.  I would like to be able to shrink the program
  14. a little more.  If you have any suggestions or any other comments, send me
  15. some mail.
  16.  
  17.    Here is an overview:
  18.  
  19.    Format:     3 column file names (default), or long listing including file
  20.                name, #bytes, #blocks, protection, date and file notes.
  21.  
  22.    Filespec:   Works like MS-DOS DIR command.  You can specify a directory
  23.                or filename with or without wildcards.  The '*' character may
  24.                be used in the same way as the amiga '#?' wildcard.  If the
  25.                filespec begins or ends with a '.', a wildcard is assumed for
  26.                the file name or extension.
  27.  
  28.    Options:    Options may appear anywhere on the command line.
  29.                -l,-L    long format (with the junk listed above)
  30.                -s,-S    sort output
  31.                -f,-F    list files only
  32.                -d,-D    list directories only
  33.                -n,-N    list only files with no file extensions.
  34.  
  35.    Examples:
  36.  
  37.      d df0:devs -l      list all files in the devs directory in long format
  38.      d -s #?ab#?        sorted listing all files that have the string 'ab'
  39.                         in it.
  40.      d .c               list all files that end in '.c'
  41.      d *.c              same as above
  42.      d comm.            list all files that start with 'comm.'.  This will
  43.                         NOT pick up the file name 'comm'.
  44.