in reply to How do I find the total number of lines in a file?

In an AWK-ish kind of way, straight from the command prompt: perl -lne "END { print $. }" myFilename

Replies are listed 'Best First'.
Re: Answer: How do I find the total number of lines in a file?
by kcott (Archbishop) on Nov 13, 2010 at 09:43 UTC