/[pcre]/code/trunk/doc/pcregrep.1
ViewVC logotype

Diff of /code/trunk/doc/pcregrep.1

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

revision 323 by ph10, Mon Dec 17 14:46:11 2007 UTC revision 324 by ph10, Fri Mar 7 19:48:32 2008 UTC
# Line 157  that matched. Line 157  that matched.
157  .TP  .TP
158  \fB--exclude\fP=\fIpattern\fP  \fB--exclude\fP=\fIpattern\fP
159  When \fBpcregrep\fP is searching the files in a directory as a consequence of  When \fBpcregrep\fP is searching the files in a directory as a consequence of
160  the \fB-r\fP (recursive search) option, any files whose names match the pattern  the \fB-r\fP (recursive search) option, any regular files whose names match the
161  are excluded. The pattern is a PCRE regular expression. If a file name matches  pattern are excluded (subdirectories are not excluded; they are searched
162  both \fB--include\fP and \fB--exclude\fP, it is excluded. There is no short  recursively). The pattern is a PCRE regular expression, and is matched against
163  form for this option.  the final component of the file name (not the entire path). If a file name
164    matches both \fB--include\fP and \fB--exclude\fP, it is excluded. There is no
165    short form for this option.
166  .TP  .TP
167  \fB-F\fP, \fB--fixed-strings\fP  \fB-F\fP, \fB--fixed-strings\fP
168  Interpret each pattern as a list of fixed strings, separated by newlines,  Interpret each pattern as a list of fixed strings, separated by newlines,
# Line 212  Ignore upper/lower case distinctions dur Line 214  Ignore upper/lower case distinctions dur
214  .TP  .TP
215  \fB--include\fP=\fIpattern\fP  \fB--include\fP=\fIpattern\fP
216  When \fBpcregrep\fP is searching the files in a directory as a consequence of  When \fBpcregrep\fP is searching the files in a directory as a consequence of
217  the \fB-r\fP (recursive search) option, only those files whose names match the  the \fB-r\fP (recursive search) option, only those regular files whose names
218  pattern are included. The pattern is a PCRE regular expression. If a file name  match the pattern are included (but subdirectories are always included and
219  matches both \fB--include\fP and \fB--exclude\fP, it is excluded. There is no  searched recursively). The pattern is a PCRE regular expression, and is matched
220  short form for this option.  against the final component of the file name (not the entire path). If a file
221    name matches both \fB--include\fP and \fB--exclude\fP, it is excluded. There is
222    no short form for this option.
223  .TP  .TP
224  \fB-L\fP, \fB--files-without-match\fP  \fB-L\fP, \fB--files-without-match\fP
225  Instead of outputting lines from the files, just output the names of the files  Instead of outputting lines from the files, just output the names of the files
# Line 434  Cambridge CB2 3QH, England. Line 438  Cambridge CB2 3QH, England.
438  .rs  .rs
439  .sp  .sp
440  .nf  .nf
441  Last updated: 17 December 2007  Last updated: 07 March 2008
442  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2008 University of Cambridge.
443  .fi  .fi

Legend:
Removed from v.323  
changed lines
  Added in v.324

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12