Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)
address@hidden (Bob Proulx) writes:
> FabF wrote:
>> (Please cc me)
>> Here's a patch to add "count only used lines" in wc.
>> This can be useful if you want to know how many lines of real text are
>> featuring.
>
> This looks remarkably like the standard command:
>
> grep -c . filename
And
grep -c '[^[:space:]]' filename
if you want to ignore blank lines, too.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."