home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3942 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!cs.utexas.edu!convex!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: Better way to find out the number of lines in a file
  5. Message-ID: <1992Jul27.203700.5953@news.eng.convex.com>
  6. Originator: tchrist@pixel.convex.com
  7. Sender: usenet@news.eng.convex.com (news access account)
  8. Nntp-Posting-Host: pixel.convex.com
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Organization: CONVEX Realtime Development, Colorado Springs, CO
  11. References: <1992Jul27.195754.26812@tin.monsanto.com>
  12. Date: Mon, 27 Jul 1992 20:37:00 GMT
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 15
  17.  
  18. From the keyboard of bcschu@skws02.monsanto.com (Brett Schultz):
  19. :This is kind of similar to the how many files in a directory question, but
  20. :is there a trick to find the number of lines in a file?
  21. :
  22. :The files are big so I don't really want to do a gets loop with a counter
  23. :unless I have to.
  24.  
  25. Well, SOMEBODY has to do it!  
  26.  
  27. --tom
  28. -- 
  29.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  30.  
  31.  
  32. Emacs is a fine operating system, but I still prefer UNIX. -me
  33.