Page MenuHomeFreeBSD

D37726.id114226.diff
No OneTemporary

D37726.id114226.diff

diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -30,7 +30,7 @@
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd November 10, 2021
+.Dd December 17, 2022
.Dt GREP 1
.Os
.Sh NAME
@@ -440,6 +440,22 @@
This includes both
.Fl f
and file arguments.
+.Sh ENVIRONMENT VARIABLES
+The following environment variables affect the execution of
+.Nm :
+.Bl -tag -width "GREP_OPTIONS"
+.It Ev GREP_COLOR
+This variable specifies the color used to highlight matched (non-empty) text.
+.It Ev GREP_OPTIONS
+This variable specifies default options
+to be placed in front of any explicit options.
+It may cause problems with portable scripts.
+.It Ev TERM
+This variable specifies the type name of the terminal, console or display-device
+type to be used.
+See
+.Xr term 7 .
+.El
.Sh EXIT STATUS
The
.Nm grep

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 15, 11:11 PM (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27655753
Default Alt Text
D37726.id114226.diff (867 B)

Event Timeline