in reply to perl
grep -vc '[^[:space:]]' filenames...
Of course it isn't perl but it is sexy =) Tho to be honest I really use a space and ^Vtab rather than that crappy ansi notation =).
Someone needs to snag the most recent regexp engine from perl and make a real greperl or grep with a -P flag to use that engine. Too many good tweaks in the perl regexp are going unexercised. =)
--
$you = new YOU;
honk() if $you->love(perl)
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)RE: perl
by tye (Sage) on Nov 10, 2000 at 06:06 UTC | |
by extremely (Priest) on Nov 10, 2000 at 06:26 UTC | |
by tye (Sage) on Nov 10, 2000 at 06:36 UTC | |
by eduardo (Curate) on Nov 10, 2000 at 09:21 UTC |