On 4/27/06, Randy McMurchy <[EMAIL PROTECTED]> wrote:
>
> echo $((`grep 'tests passed' check.log | \
> awk '{print $2}' | \
> sed "s/.*/+&/"`))
You can drop the sed by having the + be part of the awk print statement.
$ grep 'tests passed' foo | awk '{print "+"$2}'
+23
+19
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
