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

  1.  
  2.  
  3.      SDIR (1)                  BDS C Users' Group                  SDIR (1)
  4.  
  5.  
  6.  
  7.  
  8.      NNAAMMEE 
  9.           sdir - produce sorted directory list 
  10.  
  11.  
  12.      SSYYNNOOPPSSIISS 
  13.           ssddiirr [filedesc] ...  
  14.  
  15.  
  16.      DDEESSCCRRIIPPTTIIOONN 
  17.           _S_d_i_r is a program to produce a sorted directory list on the 
  18.           console, with four directory entries per line.  Zero or more 
  19.           file descriptors (ambiguous or unambiguous) or drive 
  20.           specifications may be supplied to tailor the output.  If no 
  21.           file descriptors are supplied, a default of *.* is used, 
  22.           which is everything on the current drive.  
  23.  
  24.  
  25.      CCAAVVEEAATTSS 
  26.           This program was tested with v1.50 of the BDS C compiler 
  27.           under CP/M 2.2.  It should work with other versions of BDS C 
  28.           and CP/M, but has not been tested.  
  29.  
  30.  
  31.      EEXXAAMMPPLLEESS 
  32.           sdir a: b:    lists everything on drives A & B. Each
  33.                   directory is sorted individually.
  34.           sdir *.com    lists all .COM files on the current default
  35.                   drive.
  36.  
  37.  
  38.      SSEEEE AALLSSOO 
  39.           zdir(1) 
  40.  
  41.  
  42.      BBUUGGSS 
  43.           If the same file corresponds to more than one file 
  44.           descriptor, it will be listed once for each such 
  45.           correspondence.  
  46.           A maximum of 128 filenames is allowed.  
  47.  
  48.  
  49.      NNOOTTEESS 
  50.           Requires fcb.h for compile & files.c for link.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.                                       -1-
  76.  
  77.  
  78. utput.  If no 
  79.           file descriptors are supplied, a default of *.* is used, 
  80.