Test suite results

Dan Nicholson dbn.lists at gmail.com
Thu Apr 27 07:29:17 PDT 2006


On 4/27/06, Randy McMurchy <randy at linuxfromscratch.org> wrote:
> Randy McMurchy wrote these words on 04/27/06 08:41 CST:
>
> > echo $((`grep 'tests passed' check.log | \
> >          awk '{print $2}' | \
> >          sed "s/.*/+&/"`))
>
> ===================
> All xx tests passed
> ===================

Randy, what is the sed doing?  Oh, I get it now.  It's putting a +
sign in front of everything.  That's pretty clever.  I happened to see
an awk script that did almost the exact same thing the other day, but
it's gone with the wind now.  I'll show it to you if I can remember
where I saw it.

--
Dan



More information about the blfs-dev mailing list