[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep patch

From: Andreas Schwab
Subject: Re: grep patch
Date: Thu, 17 Jan 2002 15:36:16 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.30 (ia64-suse-linux)

address@hidden (Stepan Koltsov) writes:

|> Hi.
|> This is diff, that add option --fake-filename= for grep 2.5f, it prints
|> specified filename instead of real.
|> Example of using:
|> for fn in *.gz; do zcat $fn | grep --fake-filename=$fn -H; done

GNU diff has --label which fulfills a similar purpose.  That might be a
better name for the option.


Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]