[KLUG Members] Re: grep, egrep, fgrep

Adam Tauno Williams members@kalamazoolinux.org
Thu, 06 May 2004 10:57:51 -0400


> > IMO, yes. I do it with success:  ls -l |grep \.s
> ls -l | grep \\.s

You actually don't need to "-1",  ls smells that its stdout is bieng
grabbed and reverts to that mode automatically.  But it isn't a bad idea
to just do it anyway.