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

Re: Counting number of lines in a text file



cat file-name | wc -l


On Wed, 3 Feb 1999, Jay Barbee wrote:

> 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'.
> 
> Thanks,
> --Jay
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 


Reply to: