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


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

From: "Nadav Har'El" <nyh <at> cloudius-systems.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 17494 <at> debbugs.gnu.org
Subject: Re: "GREP_OPTIONS" allows a user to break shell script
Date: Sun, 14 Sep 2014 00:37:49 +0300
[Message part 1 (text/plain, inline)]
On Fri, Sep 12, 2014 at 12:21 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> Attached is a proposed patch that starts to address this longstanding
> problem by deprecating GREP_OPTIONS and warning if it's used.  We can
> remove the dangerous feature in a later release.  Comments?
>

Looks good to me. However, it seems to me that if grep prints this
"warning:" every time grep is used, we don't just deprecate this feature
(with a promise to remove it later), we actually make this feature unusable
immediately, because nobody wants to see this message on every invocation
of grep.

But I'm personally fine with this change, if you are.

Thanks,
Nadav.



-- 
Nadav Har'El
nyh <at> cloudius-systems.com
[Message part 2 (text/html, inline)]

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.