Re: OT: grep

2000-10-13 Thread Dave Pearson
On Fri, Oct 13, 2000 at 05:51:22AM -0400, Rob Reid wrote: > At 8:17 PM EDT on Oct. 11 Aaron Schrab brought me out of hibernation for this: > > > Or you could just make a minor modification to the grep pattern: > > > > ps -U $LOGNAME | grep 'r[e]almutt' > /dev/null > > > > That way grep won't b

Re: OT: grep

2000-10-13 Thread Bob Bell
On Fri, Oct 13, 2000 at 05:51:22AM -0400, Rob Reid <[EMAIL PROTECTED]> wrote: > It works, but I don't understand why. Shouldn't 'r[e]almutt' just parse to > "realmutt"? Yes, it's the same as matching with the regex 'realmutt'. However, the grep process will appear in the ps listing as "grep

OT: grep

2000-10-13 Thread Rob Reid
At 8:17 PM EDT on Oct. 11 Aaron Schrab brought me out of hibernation for this: > At 09:23 +0930 12 Oct 2000, Brian Salter-Duke <[EMAIL PROTECTED]> > wrote: > > On Wed, Oct 11, 2000 at 04:38:31PM -0700, Bruce J.A. Nourish wrote: > > > > if ps -U $LOGNAME | grep realmutt > /dev/null > > > > > > Be