[Top][All Lists]

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

Re: grep patch

From: Miles Bader
Subject: Re: grep patch
Date: 18 Jan 2002 21:40:01 +0900

Paul Eggert <address@hidden> writes:
> does what you want and is obviously cleaner than the --fake-filename
> approach.  I guess I'd have to see a real example to see what people
> are driving at.

I think it's intended for things like `zgrep'; currently, zgrep filters
grep's output with sed to do the same thing.  As far as I can see,
there's no particular problem with this -- since grep doesn't try to
open any files (gzip does), it never outputs an error message with a
filename, so there's no need to filter stderr (unless there's some error
I don't know about).  Other applications that report things like syntax
errors with the filename in the error message would need extra work to
work right.


Would you like fries with that?

reply via email to

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