Locate with exclude?

Tony Nelson tonynelson at georgeanelson.com
Mon Feb 19 19:40:46 UTC 2007


At 6:51 PM +0000 2/19/07, Steve Searle wrote:
>Content-Type: multipart/signed; micalg=pgp-sha1;
>	protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx"
>Content-Disposition: inline
>
>Around 01:20am on Monday, February 19, 2007 (UK time), Jean-Rene David
>scrawled:
>
>> Another, shorter, way to do the same:
>>
>> ps auxw | grep '[p]rocessName'
>
>I like it, but can you explain why it works?

Hint: this also works:

    ps auxw | grep 'p\rocessName'

but this does not:

    ps auxw | grep '\processName'
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list