in reply to Re: what's this loo code? (*slurp*)
in thread what's this loo code?
I'm almost certain you can make that faster or shorter
I can't imagine it making a significant dent in speed for small(er) files, but -l (sh|c)ould be omitted.
Perhaps...
perl -ne 'END{ print $., $/ }' file
...or...
perl -ne 'END{ print $. }' file
--k.
|
---|