[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/doc/grep.texi

From: Julian Foad
Subject: Changes to grep/doc/grep.texi
Date: Wed, 15 Dec 2004 08:35:48 -0500

Index: grep/doc/grep.texi
diff -u grep/doc/grep.texi:1.48 grep/doc/grep.texi:1.49
--- grep/doc/grep.texi:1.48     Wed Dec  8 14:18:29 2004
+++ grep/doc/grep.texi  Wed Dec 15 13:30:38 2004
@@ -265,8 +265,10 @@
 @itemx address@hidden
 @opindex --colour
 @cindex highlight, color, colour
-The matching string is surrounded by the marker specify in @var{GREP_COLOR}.
address@hidden may be `never', `always', or `auto'.
+Surround the matching string with escape sequences to display them in color
+on the terminal.  The color is defined by the environment variable
address@hidden and defaults to `01;31' which means the text is red.
address@hidden is `never', `always', or `auto'.
 @item address@hidden
 @opindex -NUM
@@ -362,7 +364,7 @@
 @item address@hidden
 @opindex --label
 @cindex changing name of standard input
-Displays input actually coming from standard input as input coming from file
+Display input actually coming from standard input as input coming from file
 @var{LABEL}. This is especially useful for tools like zgrep, e.g.
 @command{gzip -cd foo.gz |grep --label=foo something}
@@ -574,8 +576,8 @@
 @vindex GREP_COLOR
 @cindex highlight markers
-This variable specifies the surrounding markers use to highlight the matching
-text.  The default is control ascii red.
+This variable specifies the color used to highlight the matching text.
+The default is `01;31' which means red text on the default background.
 @item LC_ALL
 @itemx LC_COLLATE

reply via email to

[Prev in Thread] Current Thread [Next in Thread]