[Top][All Lists]

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

Re: gzip 1.3.9 on IRIX 5.3 feedback

From: Georg Schwarz
Subject: Re: gzip 1.3.9 on IRIX 5.3 feedback
Date: Wed, 20 Dec 2006 17:44:02 +0100

Am 20.12.2006 um 17:37 schrieb Matthew Woehlke:
Yes, that looks like the problem.

Here is what I get on IRIX 6.5:

$ echo foo | /sbin/grep -e 'fo\?'
$ echo foo | grep -e 'fo\?'
$ grep --version
grep (GNU grep) 2.5.1

on IRIX 5.3 however:

lorenz 54% echo foo | /sbin/grep -e 'fo\?'
Illegal option -- e
Usage: grep -hblcnsvi pattern file ...

...so /sbin/grep (on my /newer/ IRIX) does not handle extended regular expressions the same way GNU grep does. If my newer one doesn't, chances are your older one doesn't either, which is probably why configure doesn't like it ("checking for a grep that handles ... *-e*").

Anyway, setting GREP=/sbin/grep works fine (probably the tests are skipped)

Yes, you are probably telling it (incorrectly) that /sbin/grep is OK. Don't do that. :-)

(Honestly, if you are then able to build gzip I guess you are OK, but you should probably get or build GNU grep.)

I'm still wondering how I can get away with a grep that does not support -e. It seems it is not needed at all to build gzip?

Georg Schwarz    http://home.pages.de/~schwarz/
address@hidden  +49 178 8545053

reply via email to

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