[lug] grep question

Scott A. Herod herod at interact-tv.com
Tue Jan 29 13:34:45 MST 2002


Ed Hill wrote:
> 
> On Tue, 2002-01-29 at 12:41, Scott A. Herod wrote:
> >
> > I basically want something like:
> >
> > grep 'hello!good' spam
> 
> grep 'hello\|good' spam

I was getting ready to say, "I've tried all of that" then looked
closer at my mail message.  There's a '!' ( bang ) not '|' (pipe)
in it and in my script!  I think that it is time for new glasses.

Thanks all.

Scott



More information about the LUG mailing list