| 283 |
short form for this option. |
short form for this option. |
| 284 |
.TP |
.TP |
| 285 |
\fB--line-buffered\fP |
\fB--line-buffered\fP |
| 286 |
When this option is given, input is read and processed line by line, and the |
When this option is given, input is read and processed line by line, and the |
| 287 |
output is flushed after each write. By default, input is read in large chunks, |
output is flushed after each write. By default, input is read in large chunks, |
| 288 |
unless \fBpcregrep\fP can determine that it is reading from a terminal (which |
unless \fBpcregrep\fP can determine that it is reading from a terminal (which |
| 289 |
is currently possible only in Unix environments). Output to terminal is |
is currently possible only in Unix environments). Output to terminal is |
| 290 |
normally automatically flushed by the operating system. This option can be |
normally automatically flushed by the operating system. This option can be |
| 291 |
useful when the input or output is attached to a pipe and you do not want |
useful when the input or output is attached to a pipe and you do not want |
| 292 |
\fBpcregrep\fP to buffer up large amounts of data. However, its use will affect |
\fBpcregrep\fP to buffer up large amounts of data. However, its use will affect |
| 293 |
performance, and the \fB-M\fP (multiline) option ceases to work. |
performance, and the \fB-M\fP (multiline) option ceases to work. |
| 294 |
.TP |
.TP |
| 295 |
\fB--line-offsets\fP |
\fB--line-offsets\fP |
| 317 |
\fBpcregrep\fP ensures that at least 8K characters or the rest of the document |
\fBpcregrep\fP ensures that at least 8K characters or the rest of the document |
| 318 |
(whichever is the shorter) are available for forward matching, and similarly |
(whichever is the shorter) are available for forward matching, and similarly |
| 319 |
the previous 8K characters (or all the previous characters, if fewer than 8K) |
the previous 8K characters (or all the previous characters, if fewer than 8K) |
| 320 |
are guaranteed to be available for lookbehind assertions. This option does not |
are guaranteed to be available for lookbehind assertions. This option does not |
| 321 |
work when input is read line by line (see \fP--line-buffered\fP.) |
work when input is read line by line (see \fP--line-buffered\fP.) |
| 322 |
.TP |
.TP |
| 323 |
\fB-N\fP \fInewline-type\fP, \fB--newline=\fP\fInewline-type\fP |
\fB-N\fP \fInewline-type\fP, \fB--newline=\fP\fInewline-type\fP |