/[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.25 by kasal, Fri Nov 19 13:51:29 2004 UTC revision 1.26 by kasal, Wed Dec 8 14:18:29 2004 UTC
# Line 186  Use Line 186  Use
186  as the pattern; useful to protect patterns beginning with  as the pattern; useful to protect patterns beginning with
187  .BR \- .  .BR \- .
188  .TP  .TP
189    .BI \-\^\-exclude= FILE_PATTERN
190    .RI "Skip files " "and directories" " that match " FILE_PATTERN.
191    .TP
192  .BR \-F ", " \-\^\-fixed-strings  .BR \-F ", " \-\^\-fixed-strings
193  Interpret  Interpret
194  .I PATTERN  .I PATTERN
195  as a list of fixed strings, separated by newlines,  as a list of fixed strings, separated by newlines,
196  any of which is to be matched.  any of which is to be matched.
 .BR \-P ", " \-\^\-perl-regexp  
 Interpret  
 .I PATTERN  
 as a Perl regular expression.  
197  .TP  .TP
198  .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE  .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE
199  Obtain patterns from  Obtain patterns from
# Line 228  Ignore case distinctions in both the Line 227  Ignore case distinctions in both the
227  .I PATTERN  .I PATTERN
228  and the input files.  and the input files.
229  .TP  .TP
230    .BI \-\^\-include= FILE_PATTERN
231    Search only files that match
232    .I FILE_PATTERN
233    (using wildcard matching).
234    .TP
235  .BR \-L ", " \-\^\-files-without-match  .BR \-L ", " \-\^\-files-without-match
236  Suppress normal output; instead print the name  Suppress normal output; instead print the name
237  of each input file from which no output would  of each input file from which no output would
# Line 240  the name of each input file from which o Line 244  the name of each input file from which o
244  would normally have been printed.  The scanning will  would normally have been printed.  The scanning will
245  stop on the first match.  stop on the first match.
246  .TP  .TP
247    .BI \-\^\-label= LABEL
248    Displays input actually coming from standard input as input coming from file
249    .I LABEL.
250    This is especially useful for tools like zgrep, e.g.
251    .B "gzip -cd foo.gz |grep --label=foo something"
252    .TP
253    .BR \-\^\-line-buffered
254    Use line buffering, it can be a performance penalty.
255    .TP
256  .BI \-m " NUM" "\fR,\fP \-\^\-max-count=" NUM  .BI \-m " NUM" "\fR,\fP \-\^\-max-count=" NUM
257  Stop reading a file after  Stop reading a file after
258  .I NUM  .I NUM
# Line 294  within its input file. Line 307  within its input file.
307  .TP  .TP
308  .BR \-o ", " \-\^\-only-matching  .BR \-o ", " \-\^\-only-matching
309  Show only the part of a matching line that matches  Show only the part of a matching line that matches
310  .I PATTERN.  .IR PATTERN .
 .TP  
 .BI \-\^\-label= LABEL  
 Displays input actually coming from standard input as input coming from file  
 .I LABEL.  
 This is especially useful for tools like zgrep, e.g.  
 .B "gzip -cd foo.gz |grep --label=foo something"  
311  .TP  .TP
312  .BR \-\^\-line-buffered  .BR \-P ", " \-\^\-perl-regexp
313  Use line buffering, it can be a performance penalty.  .RI "Interpret " PATTERN " as a Perl regular expression."
314  .TP  .TP
315  .BR \-q ", " \-\^\-quiet ", " \-\^\-silent  .BR \-q ", " \-\^\-quiet ", " \-\^\-silent
316  Quiet; do not write anything to standard output.  Quiet; do not write anything to standard output.
# Line 321  this is equivalent to the Line 328  this is equivalent to the
328  .B "\-d recurse"  .B "\-d recurse"
329  option.  option.
330  .TP  .TP
 .BR "\fR \fP \-\^\-include=" PATTERN  
 Recurse in directories only searching file matching  
 .I PATTERN.  
 .TP  
 .BR "\fR \fP \-\^\-exclude=" PATTERN  
 Recurse in directories skip file matching  
 .I PATTERN.  
 .TP  
331  .BR \-s ", " \-\^\-no-messages  .BR \-s ", " \-\^\-no-messages
332  Suppress error messages about nonexistent or unreadable files.  Suppress error messages about nonexistent or unreadable files.
333  Portability note: unlike \s-1GNU\s0  Portability note: unlike \s-1GNU\s0

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

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