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

Diff of /grep/doc/grep.1

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

revision 1.26 by kasal, Wed Dec 8 14:18:29 2004 UTC revision 1.27 by julianfoad, Wed Dec 15 13:30:38 2004 UTC
# Line 127  which can have nasty side effects if the Line 127  which can have nasty side effects if the
127  terminal driver interprets some of it as commands.  terminal driver interprets some of it as commands.
128  .TP  .TP
129  .BI \-\^\-colour[=\fIWHEN\fR] ", " \-\^\-color[=\fIWHEN\fR]  .BI \-\^\-colour[=\fIWHEN\fR] ", " \-\^\-color[=\fIWHEN\fR]
130  Surround the matching string with the marker find in  Surround the matching string with escape sequences to display them in color
131    on the terminal.  The color is defined by the environment variable
132  .B GREP_COLOR  .B GREP_COLOR
133  environment variable. WHEN may be `never', `always', or `auto'  and defaults to `01;31' which means the text is red.
134    .I WHEN
135    is `never', `always', or `auto'.
136  .TP  .TP
137  .BR \-c ", " \-\^\-count  .BR \-c ", " \-\^\-count
138  Suppress normal output; instead print a count of  Suppress normal output; instead print a count of
# Line 245  would normally have been printed.  The s Line 248  would normally have been printed.  The s
248  stop on the first match.  stop on the first match.
249  .TP  .TP
250  .BI \-\^\-label= LABEL  .BI \-\^\-label= LABEL
251  Displays input actually coming from standard input as input coming from file  Display input actually coming from standard input as input coming from file
252  .I LABEL.  .I LABEL.
253  This is especially useful for tools like zgrep, e.g.  This is especially useful for tools like zgrep, e.g.
254  .B "gzip -cd foo.gz |grep --label=foo something"  .B "gzip -cd foo.gz |grep --label=foo something"

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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