[KLUG Members] Re: grep, egrep, fgrep

members@kalamazoolinux.org members@kalamazoolinux.org
Thu, 6 May 2004 11:04:52 -0400


On Thu, May 06, 2004 at 10:31:25AM -0400, Adam Williams was only escaped
   alone to tell thee:

> [awilliam@estate2 Documents]$ cat file1
> dude
> [awilliam@estate2 Documents]$ cat file2
> chic
> [awilliam@estate2 Documents]$ grep --fixed-strings "`echo -e "dude
> \nchic"`" file?
> file1:dude
> file2:chic

Duh, you're right. I've never had occasion to use fgrep. Shoulda checked
the man page.

At 73kB, on my box, I don't think of it as bloated.

-- 
War is God's way of teaching Americans geography. -- Ambrose Bierce