{ local $/ = \131072; $lines += tr/\n// while <inFile>; $lines++ if not /\n\z/; }
Makeshifts last the longest.
In reply to Re^2: Count file lines in a directory tree
by Aristotle
in thread Count file lines in a directory tree
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |