On 05/06/2010 23:37, Bakul Shah wrote:
> On Sat, 05 Jun 2010 14:02:16 PDT Doug Barton <do...@freebsd.org>  wrote:
> It would be less surprising and more useful if
> 
>     $ ps | (head -1; grep ssh)
> 
> showed
> 
>     PID  TT  STAT      TIME COMMAND
>     <all line with ssh in it>
> 
> The change in head behaviour I am suggesting wouldn't break
> anything that already works but make it more useful for what
> you call 'wacky commands lines'!

I know this is besides the point you want to make, but I just
cannot resist:
# ps x | sed -e 1P -e '/ssh/\!d'

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to