/[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 377 by ph10, Sun Mar 1 12:00:59 2009 UTC revision 378 by ph10, Sun Mar 1 14:13:34 2009 UTC
# Line 119  This option specifies under what circums Line 119  This option specifies under what circums
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

Legend:
Removed from v.377  
changed lines
  Added in v.378

  ViewVC Help
Powered by ViewVC 1.1.5