aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep/grep.1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-26 03:26:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-26 03:26:59 +0000
commit07bdb1554dc52058c36814e02efeb5b001895683 (patch)
tree3d332a7a473ed281f56d1b8fc20856c7a4b23460 /gnu/usr.bin/grep/grep.1
parentc0bc11462bd24c898a82c85f19563bbeaa36b580 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/grep/grep.1')
-rw-r--r--gnu/usr.bin/grep/grep.18
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/grep/grep.1 b/gnu/usr.bin/grep/grep.1
index 10935901e7dd..75361a9a80fd 100644
--- a/gnu/usr.bin/grep/grep.1
+++ b/gnu/usr.bin/grep/grep.1
@@ -462,6 +462,14 @@ the metacharacter
.B {
loses its special meaning; instead use
.BR \e{ .
+.SH ENVIRONMENT
+The environment variable
+.B GREP_OPTIONS
+can hold a set of default
+options for
+.I grep.
+These options are interpreted first and can be overwritten by explicit command
+line parameters.
.SH DIAGNOSTICS
.PP
Normally, exit status is 0 if matches were found,