bug-gzip
[Top][All Lists]
Advanced

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

Re: any chance to workaround again "buggy" grep -e on SVR4?


From: Petr Sumbera
Subject: Re: any chance to workaround again "buggy" grep -e on SVR4?
Date: Mon, 22 Oct 2012 13:21:06 +0200
User-agent: Mozilla/5.0 (X11; SunOS sun4v; rv:10.0.7) Gecko/20120926 Thunderbird/10.0.7

On 10/21/12 08:20 AM, Paul Eggert wrote:
On 10/19/2012 07:07 AM, Petr Sumbera wrote:

Is there some reason that Oracle has never added the -e option to grep?
Could you please file a bug report for that?  It's been many years now
that -e has been in the POSIX standard, and there's no compatibility reason
why /usr/bin/grep -e should fail to work.

No reason I'm aware of. There is already filed bug for it:

7014264 /usr/bin/grep should have -e -f -x -E and -F options

Anyway, I pushed the following workaround.  It assumes that you have
a more standard 'grep' floating around somewhere, which is pretty much
true on Solaris these days.

Thanks!

Yes. We have ggrep. Where on S10/S9 it's not in default path (/usr/sfw/bin). And it seems that your new check is also happy with: /usr/xpg4/bin/grep.

Btw. Can we update also tests/init.cfg to use $GREP version found during configure? Or eventually remove this check..

Thanks,

Petr



reply via email to

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