Subject: grep fn.1.gz From: "Mike Vanecek" <rh_list@xxxxxxxxxxxxx> Date: Thu, 13 Nov 2003 10:54:55 -0600 To: "redhat_list" <redhat-list@xxxxxxxxxx>
Dumb question time ... One can do a less fn.1.gz directly. I would like to be able to grep or egrep pattern fn.1.gz in the same manner. Does an easy way exist to do that? My approach of using gunzip seems rather awkward and I just wondered if a easier way existed?
Thanks.
"grep -F fn.1.gz" will do what you want.
If you find yourself doing this a lot, you might want to alias grep to "grep -F".
Beware that this deactivates ALL of the RE magic, you can't even use ^ and $ anchors.
-- johnT John McKowen Taylor, Jr. Cadence Design Systems, Inc. 200 Regency Forest Dr. Cary, NC 27511 USA
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list