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

Re: [SLUG] Re: Squeezing wine from a grep



> for f in /var/log/messages*; do fgrep CONNECT $f && break; done \
>  | tail -1 | sed 's/^/  /'
> 
> the sed is just so you still get your precious indent ;)


:P

Now *that's* fast!


Thanks Gus,

- Jeff


-- jdub@nospam.aphid.net -------------------------------------------------

   w: http://advogato.org/person/jdub/
   i: 16341281 (jdub!)
   q: "She said she loved my mind, though by most accounts I had
       already lost it."



--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text