bug-gnu-utils
[Top][All Lists]
Advanced

[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:29:59 +0900

Paul Eggert <address@hidden> writes:
> One possible hacky solution, for example, is to use a temporary
> symlink from the fake name to the real name.

I don't think that will work, in general, because you don't always have
the ability to create a symlink in the appropriate place [e.g., for
absolute filenames], and even if you did, there might be a file already
there that you don't want to trash.

> Perhaps there are cleaner solutions.

I hope so.

Maybe some sort of wrapper that takes the program to be wrapped and
its options as arguments and execs it with appropriate pipes in place
to allow it to filter stdout/stderr; but this is kind of gross too.

-Miles

-- 
I'd rather be consing.



reply via email to

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