home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!wupost!monsanto.com!skws02!bcschu
- From: bcschu@skws02.monsanto.com (Brett Schultz)
- Subject: Re: Better way to find out the number of lines in a file
- Message-ID: <1992Jul31.115531.14960@tin.monsanto.com>
- Sender: news@tin.monsanto.com (USENET News System)
- Organization: Monsanto Company
- References: <1992Jul31.045401.11291@ncsu.edu>
- Date: Fri, 31 Jul 1992 11:55:31 GMT
- Lines: 10
-
- dwthoma1@eos.ncsu.edu (DAVID W THOMAS) writes:
- :
- : If your big file has a constant number of characters per line, then
- : you could use the following code and divide by the characters per line.
- :
- Thanks for the input but unfortunately it doesn't have the same number of
- chars per line.
-
-
- --Brett
-