GNU bug report logs - #29778
grep seems to ignore GREP_OPTIONS

Previous Next

Package: grep;

Reported by: Dennis <grep+user <at> mgssub.com>

Date: Wed, 20 Dec 2017 04:56:02 UTC

Severity: normal

Tags: unreproducible

Merged with 29354

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 29778 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Dennis <grep+user <at> mgssub.com>, 29778 <at> debbugs.gnu.org
Subject: Re: bug#29778: grep seems to ignore GREP_OPTIONS
Date: Tue, 19 Dec 2017 21:54:03 -0800
On 12/19/2017 06:29 PM, Dennis wrote:
> For a long time I have used GREP_OPTIONS to set the
> --ignore-case option. Suddenly it seems to be ignoring it.

That's odd, since (though GREP_OPTIONS is obsolescent) it should work, 
with a warning. From the NEWS file:

>   The GREP_OPTIONS environment variable is now obsolescent, and grep
>   now warns if it is used.  Please use an alias or script instead.
Please send us the grep version number, how you built and installed 
grep, and give a test case showing how to reproduce the problem. In the 
long run I suggest that you also look into solving your problem without 
using GREP_OPTIONS.





This bug report was last modified 5 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.