Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142015469
D37726.id114226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
867 B
Referenced Files
None
Subscribers
None
D37726.id114226.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D37726: grep(1): Add ENVIRONMENT section
Attached
Detach File
Event Timeline
Log In to Comment