home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 4031 < prev    next >
Encoding:
Text File  |  1992-07-31  |  728 b   |  22 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!wupost!monsanto.com!skws02!bcschu
  3. From: bcschu@skws02.monsanto.com (Brett Schultz)
  4. Subject: Re: Better way to find out the number of lines in a file
  5. Message-ID: <1992Jul31.115531.14960@tin.monsanto.com>
  6. Sender: news@tin.monsanto.com (USENET News System)
  7. Organization: Monsanto Company
  8. References: <1992Jul31.045401.11291@ncsu.edu>
  9. Date: Fri, 31 Jul 1992 11:55:31 GMT
  10. Lines: 10
  11.  
  12. dwthoma1@eos.ncsu.edu (DAVID W THOMAS) writes:
  13. : If your big file has a constant number of  characters per line, then
  14. : you could use the following code and divide by the characters per line.
  15. Thanks for the input but unfortunately it doesn't have the same number of
  16. chars per line.
  17.  
  18.  
  19. --Brett
  20.