bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trailing newline in wc


From: maximilian attems
Subject: Re: trailing newline in wc
Date: Fri, 11 Jul 2003 18:28:45 +0200

On Tue, 01 Jul 2003, Paul Eggert wrote:

> That example doesn't show the need for a new 'wc' option.  Instead of this:
> 
> grep $x error_log | wc -l | tr -d '\n'; echo " : $x"
> 
> you can write this:
> 
> echo "$(grep -c $x error_log): $x"

thx for the clarification and the nice example :))

regards maks

Attachment: pgpwSEe1YyKNv.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]