home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 121_01 / dsw.doc < prev    next >
Encoding:
Text File  |  1985-08-21  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.      DSW (1)                   BDS C Users' Group                   DSW (1)
  4.  
  5.  
  6.  
  7.  
  8.      NAME   
  9.      NAME 
  10.           dsw - delete files selectively with prompting 
  11.  
  12.  
  13.      SYNOPSIS   
  14.      SYNOPSIS 
  15.           dsw                        
  16.           dsw [-s] [filedesc] ...  
  17.  
  18.  
  19.      DESCRIPTION   
  20.      DESCRIPTION 
  21.           ___                                                           
  22.           Dsw is a program which lists a partial or entire directory, 
  23.           one entry at a time, on the console and prompts for each 
  24.           file to be deleted.  Optionally, the directory entries may 
  25.           be sorted before prompting.  Zero or more file descriptors 
  26.           (ambiguous or unambiguous) may be supplied to tailor the 
  27.           output.  If no file descriptors are supplied, a default of 
  28.           *.* is used, i.e.  everything on the current drive.  
  29.           An answer of 'y' to the prompt will cause the file to be 
  30.           deleted; anything else will cause the file to be kept.  
  31.  
  32.  
  33.           The following option is available:
  34.                -s     sort into alphabetic sequence before prompting
  35.  
  36.  
  37.      CAVEATS   
  38.      CAVEATS 
  39.           This program was tested with v1.50 of the BDS C compiler 
  40.           under CP/M 2.2.  It should work with other versions of BDS C 
  41.           and CP/M, but has not been tested.  
  42.  
  43.  
  44.      EXAMPLES   
  45.      EXAMPLES 
  46.           dsw a:*.* b:*.*     lists everything on drives A & B, prompting
  47.                               for deletion of each file. The files are
  48.                               presented in directory sequence
  49.           dsw -s *.com        lists all .COM files on the current default
  50.                               drive in alphabetic sequence, prompting for
  51.                               deletion for each one
  52.  
  53.  
  54.      BUGS   
  55.      BUGS 
  56.           If the same file corresponds to more than one file 
  57.           descriptor, it will be listed once for each such 
  58.           correspondence.  
  59.           A maximum of 128 filenames is allowed.  
  60.  
  61.  
  62.      NOTES   
  63.      NOTES 
  64.           Requires files.c for link.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.                                       -1-
  85.  
  86.  
  87.    
  88.