/[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.48 by kasal, Wed Dec 8 14:18:29 2004 UTC revision 1.49 by julianfoad, Wed Dec 15 13:30:38 2004 UTC
# Line 265  Print @var{num} lines of output context. Line 265  Print @var{num} lines of output context.
265  @itemx --color[=@var{WHEN}]  @itemx --color[=@var{WHEN}]
266  @opindex --colour  @opindex --colour
267  @cindex highlight, color, colour  @cindex highlight, color, colour
268  The matching string is surrounded by the marker specify in @var{GREP_COLOR}.  Surround the matching string with escape sequences to display them in color
269  @var{WHEN} may be `never', `always', or `auto'.  on the terminal.  The color is defined by the environment variable
270    @var{GREP_COLOR} and defaults to `01;31' which means the text is red.
271    @var{WHEN} is `never', `always', or `auto'.
272    
273  @item -@var{num}  @item -@var{num}
274  @opindex -NUM  @opindex -NUM
# Line 362  Set the line buffering policy, this can Line 364  Set the line buffering policy, this can
364  @item --label=@var{LABEL}  @item --label=@var{LABEL}
365  @opindex --label  @opindex --label
366  @cindex changing name of standard input  @cindex changing name of standard input
367  Displays input actually coming from standard input as input coming from file  Display input actually coming from standard input as input coming from file
368  @var{LABEL}. This is especially useful for tools like zgrep, e.g.  @var{LABEL}. This is especially useful for tools like zgrep, e.g.
369  @command{gzip -cd foo.gz |grep --label=foo something}  @command{gzip -cd foo.gz |grep --label=foo something}
370    
# Line 574  specify an option containing whitespace Line 576  specify an option containing whitespace
576  @item GREP_COLOR  @item GREP_COLOR
577  @vindex GREP_COLOR  @vindex GREP_COLOR
578  @cindex highlight markers  @cindex highlight markers
579  This variable specifies the surrounding markers use to highlight the matching  This variable specifies the color used to highlight the matching text.
580  text.  The default is control ascii red.  The default is `01;31' which means red text on the default background.
581    
582  @item LC_ALL  @item LC_ALL
583  @itemx LC_COLLATE  @itemx LC_COLLATE

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

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