|
From: | Paul Eggert |
Subject: | Re: trailing newline in wc |
Date: | 01 Jul 2003 10:06:48 -0700 |
User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
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"
[Prev in Thread] | Current Thread | [Next in Thread] |