On Jan 21, 2008 4:53 PM, Alok G. Singh <[EMAIL PROTECTED]> wrote:

>
> I used two pipes to eliminates the extraneous grep, until some pointed
> out that all you need to do it make the regexp different from the
> matched string, viz.
>
> $ ps -e | grep "[m]ysql"


This is elegant. Thanks.


-- 
Puneet
http://sahyog.blogspot.com/
Latest Post: Tutorial on SVN setup and usage
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to