in reply to Re^3: Count number of lines in a text file
in thread Count number of lines in a text file
But this works:
So does this--but efficiently enough tha you can use it on huge files:)
c:\test>perl -ne"}{print$." junk.out 20000001
It actually beats wc -l on my system.
|
|---|