[Top][All Lists]

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

Re: grep/egrep -w non-portable (doc/Makefile.am)

From: Albert Chin
Subject: Re: grep/egrep -w non-portable (doc/Makefile.am)
Date: Wed, 3 Nov 2004 07:32:01 -0600
User-agent: Mutt/1.5.6i

On Wed, Nov 03, 2004 at 01:31:59AM -0800, Paul Eggert wrote:
> Albert Chin <address@hidden> writes:
> > grep/egrep -w is non-portable. HP-UX grep/egrep doesn't grok it.
> That won't cause "make check" to fail in the doc directory, will it?
> If it's just some annoying chatter, we can safely ignore it.

It doesn't cause "make check" to fail but it is annoying. How about
using $(GREP) and $(EGREP) and in configure.ac we:
  AC_CHECK_PROGS(GREP, [ggrep grep], grep)
  AC_CHECK_PROGS(EGREP, [gegrep egrep], egrep)

Or, I could come up with some comparable portable egrep regex.

albert chin (address@hidden)

reply via email to

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