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

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

Re: grep 2.5: make install does not honor prefix or suffix for eg rep/ f


From: Newton, Philip
Subject: Re: grep 2.5: make install does not honor prefix or suffix for eg rep/ fgrep
Date: Wed, 8 Jan 2003 17:23:32 +0100

Stepan Kasal wrote:
> grep-2.5.1 implements fgrep and egrep as wrapper scripts, not links.
> The reason is that situations where a binary changes its 
> behaviour according to it's name is deprecated by POSIX.

And also by GNU coding standards, as Alfred M. Szmidt pointed out to me (
http://www.gnu.org/prep/standards_16.html ).

> With grep 2.5.1 and the scripts, you'd be safe.
> But grep-2.5.1 contains another bug: the created sripts are 
> installed under
> the names gnu-egrep, gnu-fgrep, but call grep, not gnu-grep.
> I'll fix it ASAP.  For now, please fix it manually.
> 
> (Or you can only take the scripts, they contain just this:
>       #!/bin/sh
>       exec grep -E ${1+"$@"}

Ah, cool. Maybe I'll just do that. I don't really want to fetch another
release.

Cheers,
Philip
-- 
Philip Newton <address@hidden>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.




reply via email to

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