/[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 324 by ph10, Fri Mar 7 19:48:32 2008 UTC revision 325 by ph10, Sat Mar 8 17:13:02 2008 UTC
# Line 158  that matched. Line 158  that matched.
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 regular files whose names match the  the \fB-r\fP (recursive search) option, any regular files whose names match the
161  pattern are excluded (subdirectories are not excluded; they are searched  pattern are excluded. Subdirectories are not excluded by this option; they are
162  recursively). The pattern is a PCRE regular expression, and is matched against  searched recursively, subject to the \fB--exclude_dir\fP and
163  the final component of the file name (not the entire path). If a file name  \fB--include_dir\fP options. The pattern is a PCRE regular expression, and is
164  matches both \fB--include\fP and \fB--exclude\fP, it is excluded. There is no  matched against the final component of the file name (not the entire path). If
165  short form for this option.  a file name matches both \fB--include\fP and \fB--exclude\fP, it is excluded.
166    There is no short form for this option.
167    .TP
168    \fB--exclude_dir\fP=\fIpattern\fP
169    When \fBpcregrep\fP is searching the contents of a directory as a consequence
170    of the \fB-r\fP (recursive search) option, any subdirectories whose names match
171    the pattern are excluded. (Note that the \fP--exclude\fP option does not affect
172    subdirectories.) The pattern is a PCRE regular expression, and is matched
173    against the final component of the name (not the entire path). If a
174    subdirectory name matches both \fB--include_dir\fP and \fB--exclude_dir\fP, it
175    is excluded. There is no short form for this option.
176  .TP  .TP
177  \fB-F\fP, \fB--fixed-strings\fP  \fB-F\fP, \fB--fixed-strings\fP
178  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 215  Ignore upper/lower case distinctions dur Line 225  Ignore upper/lower case distinctions dur
225  \fB--include\fP=\fIpattern\fP  \fB--include\fP=\fIpattern\fP
226  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
227  the \fB-r\fP (recursive search) option, only those regular files whose names  the \fB-r\fP (recursive search) option, only those regular files whose names
228  match the pattern are included (but subdirectories are always included and  match the pattern are included. Subdirectories are always included and searched
229  searched recursively). The pattern is a PCRE regular expression, and is matched  recursively, subject to the \fP--include_dir\fP and \fB--exclude_dir\fP
230  against the final component of the file name (not the entire path). If a file  options. The pattern is a PCRE regular expression, and is matched against the
231  name matches both \fB--include\fP and \fB--exclude\fP, it is excluded. There is  final component of the file name (not the entire path). If a file name matches
232  no short form for this option.  both \fB--include\fP and \fB--exclude\fP, it is excluded. There is no short
233    form for this option.
234    .TP
235    \fB--include_dir\fP=\fIpattern\fP
236    When \fBpcregrep\fP is searching the contents of a directory as a consequence
237    of the \fB-r\fP (recursive search) option, only those subdirectories whose
238    names match the pattern are included. (Note that the \fB--include\fP option
239    does not affect subdirectories.) The pattern is a PCRE regular expression, and
240    is matched against the final component of the name (not the entire path). If a
241    subdirectory name matches both \fB--include_dir\fP and \fB--exclude_dir\fP, it
242    is excluded. There is no short form for this option.
243  .TP  .TP
244  \fB-L\fP, \fB--files-without-match\fP  \fB-L\fP, \fB--files-without-match\fP
245  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 438  Cambridge CB2 3QH, England. Line 458  Cambridge CB2 3QH, England.
458  .rs  .rs
459  .sp  .sp
460  .nf  .nf
461  Last updated: 07 March 2008  Last updated: 08 March 2008
462  Copyright (c) 1997-2008 University of Cambridge.  Copyright (c) 1997-2008 University of Cambridge.
463  .fi  .fi

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

  ViewVC Help
Powered by ViewVC 1.1.5