/[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 148 by ph10, Mon Apr 16 13:25:10 2007 UTC revision 149 by ph10, Mon Apr 16 15:28:08 2007 UTC
# Line 220  the previous 8K characters (or all the p Line 220  the previous 8K characters (or all the p
220  are guaranteed to be available for lookbehind assertions.  are guaranteed to be available for lookbehind assertions.
221  .TP  .TP
222  \fB-N\fP \fInewline-type\fP, \fB--newline=\fP\fInewline-type\fP  \fB-N\fP \fInewline-type\fP, \fB--newline=\fP\fInewline-type\fP
223  The PCRE library supports four different conventions for indicating  The PCRE library supports five different conventions for indicating
224  the ends of lines. They are the single-character sequences CR (carriage return)  the ends of lines. They are the single-character sequences CR (carriage return)
225  and LF (linefeed), the two-character sequence CRLF, and an "any" convention, in  and LF (linefeed), the two-character sequence CRLF, an "anycrlf" convention,
226    which recognizes any of the preceding three types, and an "any" convention, in
227  which any Unicode line ending sequence is assumed to end a line. The Unicode  which any Unicode line ending sequence is assumed to end a line. The Unicode
228  sequences are the three just mentioned, plus VT (vertical tab, U+000B), FF  sequences are the three just mentioned, plus VT (vertical tab, U+000B), FF
229  (formfeed, U+000C), NEL (next line, U+0085), LS (line separator, U+2028), and  (formfeed, U+000C), NEL (next line, U+0085), LS (line separator, U+2028), and
230  PS (paragraph separator, U+0029).  PS (paragraph separator, U+2029).
231  .sp  .sp
232  When the PCRE library is built, a default line-ending sequence is specified.  When the PCRE library is built, a default line-ending sequence is specified.
233  This is normally the standard sequence for the operating system. Unless  This is normally the standard sequence for the operating system. Unless
234  otherwise specified by this option, \fBpcregrep\fP uses the library's default.  otherwise specified by this option, \fBpcregrep\fP uses the library's default.
235  The possible values for this option are CR, LF, CRLF, or ANY. This makes it  The possible values for this option are CR, LF, CRLF, ANYCRLF, or ANY. This
236  possible to use \fBpcregrep\fP on files that have come from other environments  makes it possible to use \fBpcregrep\fP on files that have come from other
237  without having to modify their line endings. If the data that is being scanned  environments without having to modify their line endings. If the data that is
238  does not agree with the convention set by this option, \fBpcregrep\fP may  being scanned does not agree with the convention set by this option,
239  behave in strange ways.  \fBpcregrep\fP may behave in strange ways.
240  .TP  .TP
241  \fB-n\fP, \fB--line-number\fP  \fB-n\fP, \fB--line-number\fP
242  Precede each output line by its line number in the file, followed by a colon  Precede each output line by its line number in the file, followed by a colon
# Line 387  Cambridge CB2 3QH, England. Line 388  Cambridge CB2 3QH, England.
388  .rs  .rs
389  .sp  .sp
390  .nf  .nf
391  Last updated: 06 March 2007  Last updated: 16 April 2007
392  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
393  .fi  .fi

Legend:
Removed from v.148  
changed lines
  Added in v.149

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12