You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@mch.sni.de> on 1997/11/03 18:55:13 UTC

[BUG]: old shells don't like "if ! egrep ..."

I just noted a problem on non-bash shells with the recently added
/usr/local/etc/httpd/ directory test:

When executing the Configure line
  if ! egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null
they complain:
  ./Configure: !: not found

The Q&D patch makes it do what it should do, even for old shells.

    Martin
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Re: [BUG]: old shells don't like "if ! egrep ..."

Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Mon, Nov 03, 1997 at 01:33:42PM -0500, Jim Jagielski wrote:
> +1...
> 
> I though I had cleared all that non-standard stuff out.
> Oh well.

It's new - it sneaked in when the warning for the old directory structure
(/usr/local/etc/httpd <-> /usr/local/apache) was added.

    Martin
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Re: [BUG]: old shells don't like "if ! egrep ..."

Posted by Dean Gaudet <dg...@arctic.org>.
Ugh yeah I always forget this one.  +1

Dean

On Mon, 3 Nov 1997, Martin Kraemer wrote:

> I just noted a problem on non-bash shells with the recently added
> /usr/local/etc/httpd/ directory test:
> 
> When executing the Configure line
>   if ! egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null
> they complain:
>   ./Configure: !: not found
> 
> The Q&D patch makes it do what it should do, even for old shells.
> 
>     Martin
> -- 
> | S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
>