RE: grep reg expression confusion

2003-03-25 Thread Mike Vanecek
On Tue, 25 Mar 2003 11:31:08 -0800, Patrick Nelson wrote > Ben Russo wrote: > > Mike Vanecek wrote: > > > >> Been at it too long, looked in the Reg Expression book, but just can > >> not see it. Would some kind soul please tell what I am doing wrong > >> here: > >> > >> I want to look at message

Re: grep reg expression confusion

2003-03-24 Thread Ben Russo
Mike Vanecek wrote: Been at it too long, looked in the Reg Expression book, but just can not see it. Would some kind soul please tell what I am doing wrong here: I want to look at messages and ignore lines that have asia1 or asia2 in them: grep -vie '(asia1|asia2)' /var/log/messages | less I ha

grep reg expression confusion

2003-03-24 Thread Mike Vanecek
Been at it too long, looked in the Reg Expression book, but just can not see it. Would some kind soul please tell what I am doing wrong here: I want to look at messages and ignore lines that have asia1 or asia2 in them: grep -vie '(asia1|asia2)' /var/log/messages | less I have tried several di