Lines Matching full:are
12 patterns that are compatible with the regular expressions of Perl 5. See
23 Patterns, whether supplied on the command line or in a separate file, are given
29 slashes, as is common in Perl scripts), they are interpreted as part of the
31 because they are interpreted by the shell, and indeed quotes are required if a
36 Conversely, when one or both of these options are used to specify patterns, all
37 arguments are treated as path names. At least one of \fB-e\fP, \fB-f\fP, or an
40 If no files are specified, \fBpcre2grep\fP reads the standard input. The
46 Input files are searched line by line. By default, each line that matches a
49 However, there are options that can change how \fBpcre2grep\fP behaves. In
54 The amount of memory used for buffering files that are being scanned is
61 built; if nothing is specified, the defaults are set to 20KiB and 1MiB
72 each line in the order in which they are defined, except that all the \fB-e\fP
73 patterns are tried before the \fB-f\fP patterns.
75 By default, as soon as one pattern matches a line, no further patterns are
81 there are multiple patterns, they are all tried on the remainder of the line,
82 but patterns that follow the one that matched are not tried on the earlier part
85 This behaviour means that the order in which multiple patterns are specified
90 Patterns that can match an empty string are accepted, but empty string
91 matches are never recognized. An example is the pattern "(super)?(man)?", in
92 which all components are optional. This pattern finds all occurrences of both
94 the matching substrings are being shown.
108 \fB--help\fP option. If the appropriate support is not present, all files are
122 of changing the way binary files are handled.
128 Patterns passed from the command line are strings that are terminated by a
129 binary zero, so cannot contain internal zeros. However, patterns that are read
150 lines are output if the next match or the end of the file is reached, or if the
152 numbers are being output, a hyphen separator is used instead of a colon for the
154 unless they are in fact contiguous in the input file. The value of \fInumber\fP
163 lines are output if the previous match or the start of the file is within
165 file names and/or line numbers are being output, a hyphen separator is used
167 between each group of lines, unless they are in fact contiguous in the input
172 Specify how binary files are to be processed. If the word is "binary" (the
175 which is equivalent to the \fB-a\fP or \fB--text\fP option, binary files are
179 \fB-I\fP option, binary files are not processed at all; they are assumed not to
180 be of interest and are skipped without causing any output or affecting the
185 processing for buffering files that are being scanned. See also
193 Do not output lines from the files that are being scanned; instead output the
200 If no lines are selected, the number zero is output. If several files are are
204 are greater than zero are listed. When \fB-c\fP is used, the \fB-A\fP,
205 \fB-B\fP, and \fB-C\fP options are ignored.
217 connected to a terminal. More resources are used when colouring is enabled,
223 PCREGREP_COLOR, which are checked in that order. If none of these are set,
240 it is to be processed. Valid values are "read" (the default) or "skip"
245 Valid values are "read" (the default in non-Windows environments, for
248 "read" case, directories are read as if they were ordinary files. In some
259 pattern is taken from the command line; all arguments are treated as file
260 names. There is no limit to the number of patterns. They are applied to each
261 line in the order in which they are defined until one matches.
263 If \fB-f\fP is used with \fB-e\fP, the command line patterns are matched first,
265 these options are specified. Note that multiple use of \fB-e\fP is not the same
267 character in a line that is X or Y, whereas if the two patterns are given
270 matters only if you are using \fB-o\fP or \fB--colo(u)r\fP to show the part(s)
274 Files (but not directories) whose names match the pattern are skipped without
292 Directories whose names match the pattern are skipped without being processed,
309 strings are found in it (subject to \fB-w\fP or \fB-x\fP, if present). This
310 option applies only to the patterns that are matched against the contents of
320 blank lines are ignored. An empty file contains no patterns and therefore
322 zeros, which are treated as ordinary data characters. See also the comments
326 If this option is given more than once, all the specified files are read. A
329 specified on the command line using \fB-e\fP may also be present; they are
331 command line; all arguments are treated as the names of paths to be searched.
334 Read a list of files and/or directories that are to be scanned from the given
337 blank lines are ignored. These paths are processed before any that are listed
339 input. If \fB--file\fP and \fB--file-list\fP are both specified as "-",
340 patterns are read first. This is useful only when the standard input is a
343 specified files are read.
349 options are ignored. If there is more than one match in a line, each of them is
364 file names are shown when multiple files are searched. For matching lines, the
385 If any \fB--include\fP patterns are specified, the only files that are
386 processed are those that match one of the patterns (and do not match an
400 may be given any number of times; all the files are read.
403 If any \fB--include-dir\fP patterns are specified, the only directories that
404 are processed are those that match one of the patterns (and do not match an
425 least one match are listed along with their counts. Using this option with
450 offset and length are separated by a comma. In this mode, no context is shown.
451 That is, the \fB-A\fP, \fB-B\fP, and \fB-C\fP options are ignored. If there is
465 memory. There are three options that set resource limits for matching.
468 usage when processing patterns that are not going to match, but which have a
487 There are no short forms for these options. The default limits can be set
488 when the PCRE2 library is compiled; if they are not specified, the defaults
505 If \fB-v\fP is set, none of the lines in a multi-line match are output. Once a
527 the ends of lines. They are the single-character sequences CR (carriage return)
531 sequences are the three just mentioned, plus VT (vertical tab, U+000B), FF
538 The possible values for this option are CR, LF, CRLF, ANYCRLF, or ANY. This
544 \fB--include-from\fP options, which are expected to use the operating system's
577 number; up to three digits are processed.
580 number; up to two digits are processed.
588 \fB-C\fP options are ignored. If there is more than one match in a line, each
593 name or line number are being printed, in which case they are shown on an
599 given number. Up to 32 capturing parentheses are supported, and -o0 is
605 match, nothing is output unless the file name or line number are being output.
607 If this option is given multiple times, multiple substrings are output for each
608 match, in the order the options are given, and all on one line. For example,
615 is an empty string. Separating strings are never coloured.
632 Suppress error messages about non-existent or unreadable files. Such files are
642 is listed. If file names are being output, the grand total is preceded by
650 \fB--include\fP options) and all subject lines that are scanned must be valid
660 the patterns are the ones that are found.
666 option applies only to the patterns that are matched against the contents of
674 pattern and ")$" at the end. This option applies only to the patterns that are
682 The environment variables \fBLC_ALL\fP and \fBLC_CTYPE\fP are examined, in that
693 that are written to the standard output are copied identically, with whatever
695 affects only the way scanned files are processed. It does not affect the
707 Many of the short and long forms of \fBpcre2grep\fP's options are the same
714 \fB--output\fP, \fB-u\fP, and \fB--utf-8\fP options are specific to
718 Although most of the common options work the same way, a few are different in
721 \fB-c\fP and \fB-l\fP options are given, GNU grep lists only file names,
728 There are four different ways in which an option with data can be specified.
751 The exceptions to the above are the \fB--colour\fP (or \fB--color\fP) and
765 patterns are ignored by \fBpcre2grep\fP.
772 documentation for details). Numbered callouts are ignored by \fBpcre2grep\fP;
773 only callouts with string arguments are useful.
807 program or script are zero-terminated strings. This means that binary zero
838 there are more than 20 such errors, \fBpcre2grep\fP gives up.
841 overall resource limit. There are also other limits that affect the amount of