[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/doc/grep.texi
From: |
Charles Levert |
Subject: |
Changes to grep/doc/grep.texi |
Date: |
Wed, 24 Aug 2005 03:28:30 -0400 |
Index: grep/doc/grep.texi
diff -u grep/doc/grep.texi:1.55 grep/doc/grep.texi:1.56
--- grep/doc/grep.texi:1.55 Tue Jul 5 01:03:32 2005
+++ grep/doc/grep.texi Wed Aug 24 07:28:29 2005
@@ -190,7 +190,8 @@
@opindex -o
@opindex --only-matching
@cindex only matching
-Print only the part of matching lines that actually matches @var{pattern}.
+Print only the non-empty parts of matching lines
+that actually match @var{pattern}.
@item -q
@itemx --quiet
@@ -267,10 +268,10 @@
@opindex --color
@opindex --colour
@cindex highlight, color, colour
-Surround the matching strings, matching lines, context lines, file names,
-line numbers, octet offsets, and separators (for fields and groups
-of context lines) with escape sequences to display them in color on
-the terminal.
+Surround the matching non-empty strings, matching lines, context lines,
+file names, line numbers, octet offsets, and separators (for fields and
+groups of context lines) with escape sequences to display them in color
+on the terminal.
The colors are defined by the environment variable @var{GREP_COLORS}
and default to `mt=01;31:ml=:cx=:fn=35:ln=32:bn=32:se=36' for bold red
matched text, magenta file names, green line numbers, green octet offsets,
@@ -603,7 +604,7 @@
@cindex highlight markers
This variable is deprecated but still supported; its setting does not
have priority over that of @code{GREP_COLORS}.
-It specifies the color used to highlight the matching text.
+It specifies the color used to highlight the matching non-empty text.
The default is `01;31' which means bold red text on the default
background.
@@ -611,7 +612,7 @@
@vindex GREP_COLORS
@cindex highlight markers
This variable specifies the colors used to highlight
-the matching text (mt), matching lines (ml), context lines (cx),
+the matching non-empty text (mt), matching lines (ml), context lines (cx),
file names (fn), line numbers (ln), octet offsets (bn),
and separators (se, for fields and groups of context lines).
It is a colon-separated list of color specification assignments.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/doc/grep.texi,
Charles Levert <=