/[grep]/grep/doc/grep.texi
ViewVC logotype

Diff of /grep/doc/grep.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.55 by charles_levert, Tue Jul 5 01:03:32 2005 UTC revision 1.56 by charles_levert, Wed Aug 24 07:28:29 2005 UTC
# Line 190  Prefix each line of output with the line Line 190  Prefix each line of output with the line
190  @opindex -o  @opindex -o
191  @opindex --only-matching  @opindex --only-matching
192  @cindex only matching  @cindex only matching
193  Print only the part of matching lines that actually matches @var{pattern}.  Print only the non-empty parts of matching lines
194    that actually match @var{pattern}.
195    
196  @item -q  @item -q
197  @itemx --quiet  @itemx --quiet
# Line 267  Print @var{num} lines of output context. Line 268  Print @var{num} lines of output context.
268  @opindex --color  @opindex --color
269  @opindex --colour  @opindex --colour
270  @cindex highlight, color, colour  @cindex highlight, color, colour
271  Surround the matching strings, matching lines, context lines, file names,  Surround the matching non-empty strings, matching lines, context lines,
272  line numbers, octet offsets, and separators (for fields and groups  file names, line numbers, octet offsets, and separators (for fields and
273  of context lines) with escape sequences to display them in color on  groups of context lines) with escape sequences to display them in color
274  the terminal.  on the terminal.
275  The colors are defined by the environment variable @var{GREP_COLORS}  The colors are defined by the environment variable @var{GREP_COLORS}
276  and default to `mt=01;31:ml=:cx=:fn=35:ln=32:bn=32:se=36' for bold red  and default to `mt=01;31:ml=:cx=:fn=35:ln=32:bn=32:se=36' for bold red
277  matched text, magenta file names, green line numbers, green octet offsets,  matched text, magenta file names, green line numbers, green octet offsets,
# Line 603  specify an option containing whitespace Line 604  specify an option containing whitespace
604  @cindex highlight markers  @cindex highlight markers
605  This variable is deprecated but still supported; its setting does not  This variable is deprecated but still supported; its setting does not
606  have priority over that of @code{GREP_COLORS}.  have priority over that of @code{GREP_COLORS}.
607  It specifies the color used to highlight the matching text.  It specifies the color used to highlight the matching non-empty text.
608  The default is `01;31' which means bold red text on the default  The default is `01;31' which means bold red text on the default
609  background.  background.
610    
# Line 611  background. Line 612  background.
612  @vindex GREP_COLORS  @vindex GREP_COLORS
613  @cindex highlight markers  @cindex highlight markers
614  This variable specifies the colors used to highlight  This variable specifies the colors used to highlight
615  the matching text (mt), matching lines (ml), context lines (cx),  the matching non-empty text (mt), matching lines (ml), context lines (cx),
616  file names (fn), line numbers (ln), octet offsets (bn),  file names (fn), line numbers (ln), octet offsets (bn),
617  and separators (se, for fields and groups of context lines).  and separators (se, for fields and groups of context lines).
618  It is a colon-separated list of color specification assignments.  It is a colon-separated list of color specification assignments.

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26