GNU bug report logs - #26205
Unhappy with deprecating GREP_OPTIONS

Previous Next

Package: grep;

Reported by: Thomas Güttler <guettliml <at> thomas-guettler.de>

Date: Tue, 21 Mar 2017 15:40:01 UTC

Severity: normal

Tags: wontfix

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: Ankeet <postmillenial <at> gmail.com>, 26205 <at> debbugs.gnu.org
Subject: bug#26205: Unhappy with deprecating GREP_OPTIONS
Date: Tue, 7 Nov 2017 15:58:32 -0800
On 11/07/2017 01:00 PM, Ankeet wrote:
> grep should test for an interactive shell before parsing GREP_OPTIONS. [There are a number of methods outlined in the man page](http://www.tldp.org/LDP/abs/html/intandnonint.html).

Most of those methods would not work for grep, which is not a shell 
script. The only exception (testing whether stdin is a terminal) would 
run afoul of the GNU coding standards, which say that the behavior of a 
program should not depend on whether standard input or output is a 
terminal device. See:

https://www.gnu.org/prep/standards/html_node/User-Interfaces.html

Although we stretch those rules occasionally, stretching does not seem 
advisable here.





This bug report was last modified 2 years and 320 days ago.

Previous Next


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