GNU bug report logs - #17494
grep bug report: "GREP_OPTIONS" allows a user to break shell script

Previous Next

Package: grep;

Reported by: "Nadav Har'El" <nyh <at> cloudius-systems.com>

Date: Wed, 14 May 2014 22:21:01 UTC

Severity: wishlist

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Nadav Har'El <nyh <at> cloudius-systems.com>, 17494 <at> debbugs.gnu.org
Cc: Osv Dev <osv-dev <at> googlegroups.com>
Subject: bug#17494: grep bug report: "GREP_OPTIONS" allows a user to break shell script
Date: Wed, 14 May 2014 22:08:05 -0700
Nadav Har'El wrote:
> So I think it would be best if you drop the GREP_OPTIONS feature
> completely.

I tend to agree.  Hindsight is wonderful of course, but GREP_OPTIONS 
should never have been added, as it's a real minefield.  But how would 
we minimize breakage of existing usage that relies on GREP_OPTIONS?  If 
we removed it, we'd probably need a transition period, and have 
documentation of how to get the old behavior if you want it, etc.




This bug report was last modified 10 years and 311 days ago.

Previous Next


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