home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16971 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.4 KB

  1. Xref: sparky comp.lang.c:16971 comp.os.vms:18309
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!destroyer!gumby!wmichgw!873clifton
  3. From: 873clifton@gw.wmich.edu
  4. Newsgroups: comp.lang.c,comp.os.vms
  5. Subject: Re: Looking for "C" Source Line Counter
  6. Message-ID: <1992Nov21.184741.6512@gw.wmich.edu>
  7. Date: 21 Nov 92 18:47:41 EST
  8. References: <2B097095.1911@deneva.sdd.trw.com>
  9. Organization: Western Michigan University
  10. Lines: 21
  11.  
  12. In article <2B097095.1911@deneva.sdd.trw.com>, flower@donald.etdesg.trw.com (Rick Flower) writes:
  13. > Hi...
  14. >     I'm looking for a code line counter for "C".. I'm guessing that there
  15. > is one out there somewhere!  Ideally, I'm looking for one that runs on a 
  16. > VAX/VMS system, but if the code is for Unix, I'd be more than willing to port
  17. > it to the VAX environment (not the first or last time!)..  If you know of one
  18. > floating around somewhere, please e-mail me what the name is or where I can
  19. > find it, etc..  Any help is appreciated!
  20. > -- Rick
  21.  
  22. If you used a Unix machine then use wc (word count - counts words, characters
  23. and lines in a text file). Fortunately both BSD and GNU versions are available
  24. for anonymous ftp. The GNU version will be in the textutils package and the
  25. BSD version will be usally in the /usr/bin directory of any ftp site with a
  26. bsd_source directory. Try ftp.uu.net, you'll find both GNU and BSD there.
  27.  
  28. /D
  29. --
  30. Douglas Clifton [99clifto@lab.cc.wmich.edu]
  31.