[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Counting number of lines in a text file



Jay Barbee <jay.barbee@louisville.edu> writes:

> Hey all,
> 
> I was wondering what the quickest way to count the number of records
> (lines) in a text file.  It would be neat to do many files at once and save
> the output in a seperate file in the format 'filename:::#records'.

wc -l <filelist>

Later,
	Dale


-- 
+------------------------- pgp key available --------------------------+
| Dale E. Martin |  Clifton Labs, Inc.  |  Senior Computer Engineer    |
| dmartin@clifton-labs.com    |    http://www.clifton-labs.com         |
+----------------------------------------------------------------------+


Reply to: