summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-05-29 16:41:50 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-05-29 16:42:43 -0700
commit4ac5fa8959c6366f64815de3dd94e1327242af4a (patch)
tree4dbd20d010366f952f6d352d226077201b927779 /NEWS
parentda070834819cf08ee25a209aa70ce5e57e340e9b (diff)
downloadgrep-4ac5fa8959c6366f64815de3dd94e1327242af4a.tar.gz
grep: deprecate GREP_COLOR
This is to avoid confusion such as that reported by Cholden in: https://bugs.gnu.org/55641 * src/grep.c (main): Warn if GREP_COLOR has an effect.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f6a1e8c3..33658fc7 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,10 @@ GNU grep NEWS -*- outline -*-
release 2.5.3 (2007), now warn that they are obsolescent and should
be replaced by grep -E and grep -F.
+ The confusing GREP_COLOR environment variable is now obsolescent.
+ Instead of GREP_COLOR='xxx', use GREP_COLORS='mt=xxx'. grep now
+ warns if GREP_COLOR is used and is not overridden by GREP_COLORS.
+
Regular expressions with stray backslashes now cause warnings, as
their unspecified behavior can lead to unexpected results.
For example, '\a' and 'a' are not always equivalent