tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ filesize -> variable

autoconf always sets variable ▻

"grep"-ing in gzipped text-files

In article <3897D65B.31C2A4DA@tu-harburg.de>,
Oliver Gebele  <gebele@tu-harburg.de> wrote:
>gzip -cd * | grep expression
>
>will show the matches, but since the grep-input is from stdin
>cannot show the filename, which i want to know.

zgrep(1).

Tim.
--
Tim Goodwin   | "If you don't know what closures are, you probably don't
Leicester, UK | want to know what closures are." -- Larry Wall

Original headers:

From: tjg@star.le.ac.uk (Tim Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: "grep"-ing in gzipped text-files
Date: 2 Feb 2000 12:46:31 -0000
Message-ID: <8798vt$1l8$1@ltpcg.star.le.ac.uk>
References: <3897D65B.31C2A4DA@tu-harburg.de>

△ comp.unix.shell △

◅ filesize -> variable

autoconf always sets variable ▻