Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142657173
D37726.id114240.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
857 B
Referenced Files
None
Subscribers
None
D37726.id114240.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 18, 2022
.Dt GREP 1
.Os
.Sh NAME
@@ -440,6 +440,22 @@
This includes both
.Fl f
and file arguments.
+.Sh ENVIRONMENT
+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 22, 10:45 PM (5 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27865993
Default Alt Text
D37726.id114240.diff (857 B)
Attached To
Mode
D37726: grep(1): Add ENVIRONMENT section
Attached
Detach File
Event Timeline
Log In to Comment