If you just want the line count (no slurping).
perl -ne"}{die" file
If you want the filenames too
perl -ne"}{die$ARGV" *
Examine what is said, not who speaks.
The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In reply to Re: what's this loo code?
by BrowserUk
in thread what's this loo code?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |