summaryrefslogtreecommitdiff
path: root/doc/grep.in.1
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-11-03 11:09:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-11-03 11:09:47 -0800
commit790be1fb2a5949277ccc89f8a1c9c49733045d85 (patch)
tree488de6cc3ef46b7d41b91ae529525eb366ec9e91 /doc/grep.in.1
parentffc6e407e3657598702ba24ab1ba3a6b8ab253ea (diff)
downloadgrep-790be1fb2a5949277ccc89f8a1c9c49733045d85.tar.gz
grep: remove GREP_OPTIONS
* NEWS: Mention this. * doc/grep.in.1: Remove GREP_OPTIONS documentation. * doc/grep.texi (Environment Variables): Move GREP_OPTIONS stuff into a “no longer implemented” paragraph. * src/grep.c (prepend_args, prepend_default_options): Remove. (main): Do not look at GREP_OPTIONS. * tests/Makefile.am (TESTS_ENVIRONMENTS): * tests/init.cfg (vars_): Remove GREP_OPTIONS.
Diffstat (limited to 'doc/grep.in.1')
-rw-r--r--doc/grep.in.111
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 7d5dfe5a..c56c4040 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -1001,17 +1001,6 @@ The shell command
.B "locale \-a"
lists locales that are currently available.
.TP
-.B GREP_OPTIONS
-This variable specifies default options
-to be placed in front of any explicit options.
-As this causes problems when writing portable scripts,
-this feature will be removed in a future release of
-.BR grep ,
-and
-.B grep
-warns if it is used.
-Please use an alias or script instead.
-.TP
.B GREP_COLOR
This variable specifies the color used to highlight matched (non-empty) text.
It is deprecated in favor of