Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176832396
D37726.1793450745.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
857 B
Referenced Files
None
Subscribers
None
D37726.1793450745.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
Sat, Oct 31, 12:45 PM (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41263518
Default Alt Text
D37726.1793450745.diff (857 B)
Attached To
Mode
D37726: grep(1): Add ENVIRONMENT section
Attached
Detach File
Event Timeline