/[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 52 by nigel, Sat Feb 24 21:39:33 2007 UTC revision 53 by nigel, Sat Feb 24 21:39:42 2007 UTC
# Line 2  Line 2 
2  .SH NAME  .SH NAME
3  pcregrep - a grep with Perl-compatible regular expressions.  pcregrep - a grep with Perl-compatible regular expressions.
4  .SH SYNOPSIS  .SH SYNOPSIS
5  .B pcregrep [-Vchilnsvx] pattern [file] ...  .B pcregrep [-Vcfhilnrsvx] pattern [file] ...
6    
7    
8  .SH DESCRIPTION  .SH DESCRIPTION
# Line 32  Do not print individual lines; instead j Line 32  Do not print individual lines; instead j
32  lines that would otherwise have been printed. If several files are given, a  lines that would otherwise have been printed. If several files are given, a
33  count is printed for each of them.  count is printed for each of them.
34  .TP  .TP
35    \fB-f\fIfilename\fR
36    Read patterns from the file, one per line, and match all patterns against each
37    line. There is a maximum of 100 patterns. Trailing white space is removed, and
38    blank lines are ignored. An empty file contains no patterns and therefore
39    matches nothing.
40    .TP
41  \fB-h\fR  \fB-h\fR
42  Suppress printing of filenames when searching multiple files.  Suppress printing of filenames when searching multiple files.
43  .TP  .TP
# Line 46  once, on a separate line. Line 52  once, on a separate line.
52  \fB-n\fR  \fB-n\fR
53  Precede each line by its line number in the file.  Precede each line by its line number in the file.
54  .TP  .TP
55    \fB-r\fR
56    If any file is a directory, recursively scan the files it contains. Without
57    \fB-r\fR a directory is scanned as a normal file.
58    .TP
59  \fB-s\fR  \fB-s\fR
60  Work silently, that is, display nothing except error messages.  Work silently, that is, display nothing except error messages.
61  The exit status indicates whether any matches were found.  The exit status indicates whether any matches were found.
# Line 72  for syntax errors or inacessible files ( Line 82  for syntax errors or inacessible files (
82    
83  .SH AUTHOR  .SH AUTHOR
84  Philip Hazel <ph10@cam.ac.uk>  Philip Hazel <ph10@cam.ac.uk>
85    
86    Last updated: 15 August 2001
87  .br  .br
88  Copyright (c) 1997-2000 University of Cambridge.  Copyright (c) 1997-2001 University of Cambridge.

Legend:
Removed from v.52  
changed lines
  Added in v.53

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12