Path: utzoo!attcan!uunet!mcsun!unido!nixba!mike From: mike@nixba.UUCP (Mike Lyons) Newsgroups: comp.unix.questions Subject: the care and feeding of fgrep Keywords: fgrep Message-ID: <453@nixba.UUCP> Date: 24 Nov 89 09:00:21 GMT Organization: Nixdorf Computer GSfBA, Nuremberg, West Germany Lines: 24 This is something that bugs me now and then (before I forget it again :-)... The man page for the grep family has the following description for fgrep: fgrep [ options ] [ strings ] [ files ] The man page also states "Fgrep patterns are fixed strings; it is fast and compact" My question is, how the heck do you give a list of strings (as im- plied here) as an arg to fgrep? Every combination of quotes that I've come up with always results in fgrep treating all but the first string in a list as a filename, with the accompanying "can't open" complaints. When I use fgrep, I invariably put the strings into a file and use the -f option, but this *really shouldn't* be necessary if the man page is correct. Please enlighten me :-) Peace, Mike -- Michael D. Lyons / Nixdorf Computer AG / phone: +49 911 6415 609 Donaustrasse 36 :: D-8500 Nuernberg 60 :: Federal Republic of Germany EUNET: mike@nixba.uucp NERV: lyons.nue OTHERWISE: ...unido!nixba!mike I'd change the world for the better...if I could get my hands on the source code