| 119 |
a pattern should be coloured in the output. By default, the output is not |
a pattern should be coloured in the output. By default, the output is not |
| 120 |
coloured. The value (which is optional, see above) may be "never", "always", or |
coloured. The value (which is optional, see above) may be "never", "always", or |
| 121 |
"auto". In the latter case, colouring happens only if the standard output is |
"auto". In the latter case, colouring happens only if the standard output is |
| 122 |
connected to a terminal. The colour that is used can be specified by setting |
connected to a terminal. More resources are used when colouring is enabled, |
| 123 |
the environment variable PCREGREP_COLOUR or PCREGREP_COLOR. The value of this |
because \fBpcregrep\fP has to search for all possible matches in a line, not |
| 124 |
variable should be a string of two numbers, separated by a semicolon. They are |
just one, in order to colour them all. |
| 125 |
copied directly into the control string for setting colour on a terminal, so it |
|
| 126 |
is your responsibility to ensure that they make sense. If neither of the |
The colour that is used can be specified by setting the environment variable |
| 127 |
environment variables is set, the default is "1;31", which gives red. |
PCREGREP_COLOUR or PCREGREP_COLOR. The value of this variable should be a |
| 128 |
|
string of two numbers, separated by a semicolon. They are copied directly into |
| 129 |
|
the control string for setting colour on a terminal, so it is your |
| 130 |
|
responsibility to ensure that they make sense. If neither of the environment |
| 131 |
|
variables is set, the default is "1;31", which gives red. |
| 132 |
.TP |
.TP |
| 133 |
\fB-D\fP \fIaction\fP, \fB--devices=\fP\fIaction\fP |
\fB-D\fP \fIaction\fP, \fB--devices=\fP\fIaction\fP |
| 134 |
If an input path is not a regular file or a directory, "action" specifies how |
If an input path is not a regular file or a directory, "action" specifies how |