Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bria!mike Newsgroups: comp.unix.shell Subject: Re: does a zgrep exist? (zgrep <> zcat | grep) Message-ID: <463@bria> Date: 18 Feb 91 01:58:43 GMT References: <1991Feb15.232854.13378@robobar.co.uk> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 14 In an article, robobar.co.uk!ronald (Ronald S H Khoo) writes: |Well, if you have it, zcat | grep regexp /dev/stdin would do what you wanted. |If you can't hack a /dev/stdin driver into your kernel, then as an alternative |you could modify grep to understand "-" as a filename. Why, when grep assumes stdin if you only supply the regex? zcat file.Z | grep regex -- Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own. Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- Remember folks: If you can't flame MS-DOS, then what _can_ you flame?