home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / unix / du_wc.arc / READ.ME < prev    next >
Encoding:
Text File  |  1989-04-10  |  1.5 KB  |  36 lines

  1.    This posting contains two very simple utilities: WORDCNT and
  2. DU.
  3.  
  4.    WORDCNT is a simple word and line counter for text files. It
  5. is a memory hog in that it reads the entire file into memory (to
  6. avoid thrashing the drive) before counting. It counts only
  7. alphanumeric strings as words and ignores punctuation.
  8. usage: WORDCNT filename
  9.  
  10.    DU is similar to the *NIX utility of the same name. It
  11. displays the sizes of the directory names passed to it.
  12. usage: DU [-s] [dir1] [dir2] [dir3...]
  13.    With no arguments, DU starts from the current directory, otherwise
  14. it examines the series of directories specified on the command
  15. line. A drive spec (e.g. a:, c:, etc.) is a valid argument as
  16. well.
  17.    The -s option displays the total for files in the listed directory
  18. ONLY as well as the total which includes the subdirectories.
  19.  
  20.    Source for Turbo C 2.0 is included. The binaries were
  21. processed with EXE2BIN into COM files.
  22.    I don't really care if you copy these. However, as per Borland's
  23. requirements, they both bear embedded Borland copyrights.
  24.  
  25.  
  26. WARNING: I ran across an odd problem with DU and DOS 4.0 (the
  27. unfixed version) -- it lost the ability to distinguish between a
  28. directory and a file with no extension. However, that was a
  29. version ago. I haven't tested the new version with DOS 4.0
  30. because I'm not using 4.0 anymore.
  31.  
  32. Please send any bug reports or comments to me at:
  33. James W. Birdsall  jwbirdsa@phoenix.Princeton.EDU  jwbirdsa@pucc.BITNET
  34.    ...allegra!princeton!phoenix!jwbirdsa   Compu$erve: 71261,1731
  35. [but note that I'm not on Compu$erve very often]
  36.