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

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

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

revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC revision 55 by nigel, Sat Feb 24 21:39:46 2007 UTC
# Line 4  NAME Line 4  NAME
4    
5    
6  SYNOPSIS  SYNOPSIS
7       pcregrep [-Vchilnsvx] pattern [file] ...       pcregrep [-Vcfhilnrsvx] pattern [file] ...
8    
9    
10    
# Line 37  OPTIONS Line 37  OPTIONS
37                 wise have  been  printed.  If  several  files  are                 wise have  been  printed.  If  several  files  are
38                 given, a count is printed for each of them.                 given, a count is printed for each of them.
39    
40           versity of Cambridge for use on Unix systems connected  to
41                          the  Internet.   It   is  freely  available
42                   under the terms of
43                          the GNU General Public Licence. In style it
44                   is similar  to
45                          Smail  3,  but  its   facilities  are  more
46                   extensive, and in
47                          particular it has  some  defences   against
48                   mail  bombs  and
49                          unsolicited  junk  mail,  in  the  form  of
50                   options for refusing
51                          messages from particular  hosts,  networks,
52                   or senders.
53    
54                          Exim's command  line  takes  the   standard
55    
56                   Unix  form  of  a
57                          sequence  of  options, each starting with a
58                   hyphen  charac-ffilename  Read  patterns  from the
59                   file, one per line, and match all patterns against
60                   each  line.  There  is  a maximum of 100 patterns.
61                   Trailing white space is removed, and  blank  lines
62                   are  ignored.  An  empty file contains no patterns
63                   and therefore matches nothing.
64    
65       -h        Suppress printing of filenames when searching mul-       -h        Suppress printing of filenames when searching mul-
66                 tiple files.                 tiple files.
67    
# Line 50  OPTIONS Line 75  OPTIONS
75    
76       -n        Precede each line by its line number in the file.       -n        Precede each line by its line number in the file.
77    
78         -r        If any file is a directory, recursively  scan  the
79                   files  it  contains.  Without  -r  a  directory is
80                   scanned as a normal file.
81    
82       -s        Work silently, that  is,  display  nothing  except       -s        Work silently, that  is,  display  nothing  except
83                 error messages.  The exit status indicates whether                 error messages.  The exit status indicates whether
84                 any matches were found.                 any matches were found.
# Line 83  DIAGNOSTICS Line 112  DIAGNOSTICS
112    
113  AUTHOR  AUTHOR
114       Philip Hazel <ph10@cam.ac.uk>       Philip Hazel <ph10@cam.ac.uk>
      Copyright (c) 1997-2000 University of Cambridge.  
115    
116         Last updated: 15 August 2001
117         Copyright (c) 1997-2001 University of Cambridge.

Legend:
Removed from v.49  
changed lines
  Added in v.55

  ViewVC Help
Powered by ViewVC 1.1.5