Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!oliveb!pyramid!prls!philabs!ttidca!paulb From: paulb@ttidca.TTI.COM (Paul Blumstein) Newsgroups: comp.unix.questions Subject: Re: Why fgrep? Message-ID: <3550@ttidca.TTI.COM> Date: 12 Dec 88 17:47:11 GMT References: <1050@naucse.UUCP> <9116@smoke.BRL.MIL> Reply-To: paulb@ncc1701.tti.com (Paul Blumstein) Organization: Random Coders Association Lines: 24 In article <9116@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: +In article <1050@naucse.UUCP> sbw@naucse.UUCP (Steve Wampler) writes: +>Is there ever a situation (these days) where fgrep is +>preferable to grep? + +Yes, + fgrep 'word1 + word2 + ... + wordn' files ... + Make that: fgrep 'word1\ word2\ ... wordn' file1 ... You need that \ to tell the shell that more is coming (csh, anyway). ============================================================================= Paul Blumstein | Aunt Em: Hate you. Hate Kansas. Took the dog. Citicorp/TTI | -- Dorothy Santa Monica, CA +------------------------------------------------- {philabs,csun,psivax}!ttidca!paulb or paulb@ttidca.TTI.COM If caught, the Secretary of Citicorp will disavow all knowledge of my actions.