On 4/27/06, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> Randy McMurchy wrote these words on 04/27/06 08:41 CST:
>
> > echo $((`grep 'tests passed' check.log | \
> >          awk '{print $2}' | \
> >          sed "s/.*/+&amp;/"`))
>
> ===================
> 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
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to