Lines Matching full:are

17        brary  to support patterns that are compatible with the regular expres-
23 are given without delimiters. For example:
28 with slashes, as is common in Perl scripts), they are interpreted as
30 on the command line because they are interpreted by the shell, and in-
31 deed quotes are required if a pattern contains white space or shell
36 versely, when one or both of these options are used to specify pat-
37 terns, all arguments are treated as path names. At least one of -e, -f,
40 If no files are specified, pcre2grep reads the standard input. The
46 By default, input files are searched line by line, so pattern asser-
51 followed by a colon. However, there are options that can change how
55 tions control whether or not file names are shown, and the -Z option
58 The amount of memory used for buffering files that are being scanned is
65 pcre2grep is built; if nothing is specified, the defaults are set to
81 to each line in the order in which they are defined, except that all
82 the -e patterns are tried before the -f patterns.
85 are considered. However, if --colour (or --color) is used to colour the
89 different. In this situation, all the patterns are applied to the line.
93 processed; if the matching substrings are equal, the first match found
105 Patterns that can match an empty string are accepted, but empty string
106 matches are never recognized. An example is the pattern "(su-
107 per)?(man)?", in which all components are optional. This pattern finds
109 matching with "super|man" when only the matching substrings are being
123 If the appropriate support is not present, all files are treated as
137 files are handled.
142 Patterns passed from the command line are strings that are terminated
144 that are read from a file via the -f option may contain binary zeros.
164 line. Fewer lines are output if the next match or the end of
166 been set too small. If file names and/or line numbers are be-
170 is output between each group of lines, unless they are in
187 line. Fewer lines are output if the previous match or the
190 line numbers are being output, a hyphen separator is used in-
194 unless they are in fact contiguous in the input file. The
199 Specify how binary files are to be processed. If the word is
203 is equivalent to the -a or --text option, binary files are
208 tion, binary files are not processed at all; they are assumed
209 not to be of interest and are skipped without causing any
214 at the start of processing for buffering files that are being
223 Do not output lines from the files that are being scanned;
232 If no lines are selected, the number zero is output. If sev-
233 eral files are being scanned, a count is output for each of
236 tion is also used, only those files whose counts are greater
237 than zero are listed. When -c is used, the -A, -B, and -C op-
238 tions are ignored.
253 nal. More resources are used when colouring is enabled, be-
259 PCREGREP_COLOUR, or PCREGREP_COLOR, which are checked in that
260 order. If none of these are set, pcre2grep looks for
279 tion" specifies how it is to be processed. Valid values are
284 to be processed. Valid values are "read" (the default in
288 "read" case, directories are read as if they were ordinary
297 When case distinctions are being ignored in Unicode mode, two
301 tion is set, case equivalences are restricted such that no
310 from the command line; all arguments are treated as file
311 names. There is no limit to the number of patterns. They are
312 applied to each line in the order in which they are defined.
314 If -f is used with -e, the command line patterns are matched
316 of the order in which these options are specified.
319 Files (but not directories) whose names match the pattern are
338 Directories whose names match the pattern are skipped without
357 of the fixed strings are found in it (subject to -w or -x, if
358 present). This option applies only to the patterns that are
369 space is removed from each line, and blank lines are ignored.
372 binary zeros, which are treated as ordinary data characters.
375 files are read. A data line is output if any of the patterns
378 command line using -e may also be present; they are matched
380 the command line; all arguments are treated as the names of
384 Read a list of files and/or directories that are to be
388 blank lines are ignored. These paths are processed before any
389 that are listed on the command line. The file name can be
391 --file-list are both specified as "-", patterns are read
395 more than once, all the specified files are read.
402 options are ignored. If there is more than one match in a
426 File names are normally shown when multiple files are
450 If any --include patterns are specified, the only files that
451 are processed are those whose names match one of the patterns
468 of times; all the files are read.
471 If any --include-dir patterns are specified, the only direc-
472 tories that are processed are those whose names match one of
487 rate line by default, but if the -Z option is set, they are
495 if the -Z option is set, they are separated by zero bytes in-
500 match are listed along with their counts. Using this option
507 when file names are being output. If not supplied, "(standard
528 (as usual; see the -n option), and the offset and length are
531 are ignored. If there is more than one match in a line, each
562 of the lines in a multi-line match are output. Once a match
590 are output after the final match. In multiline mode, each
602 may require a very large amount of memory. There are three
606 ing resource usage when processing patterns that are not go-
626 There are no short forms for these options. The default lim-
628 are not specified, the defaults are very large and so effec-
639 scanned files are supported. For example:
644 case. If the newline type is NUL, lines are separated by bi-
645 nary zero characters. The other types are the single-charac-
650 a line. The Unicode sequences are the three just mentioned,
666 or --include-from options, which are expected to use the op-
694 the -A, -B, and -C options are ignored. The --newline option
716 to three octal digits are processed. When more digits are
722 up to two hexadecimal digits are processed. When more digits
723 are needed in Unicode mode to specify a wide character, the
732 is, the -A, -B, and -C options are ignored. If there is more
738 is output unless the file name or line number are being
739 printed, in which case they are shown on an otherwise empty
746 ses are supported by default. This limit can be changed via
759 file name or line number are being output.
762 are output for each match, in the order the options are
774 The default is an empty string. Separating strings are never
785 are now more fine-grained option settings within patterns
809 files. Such files are quietly skipped. However, the return
819 count is listed. If file names are being output, the grand
828 all lines that are scanned must be valid strings of UTF-8
848 match any of the patterns are the ones that are found. When
850 --output, which specify parts of a match that are to be out-
851 put, are ignored.
858 to the patterns that are matched against the contents of
868 patterns that are matched against the contents of files; it
882 The environment variables LC_ALL and LC_CTYPE are examined, in that or-
892 way scanned files are processed. It does not affect the interpretation
896 Any parts of the scanned input files that are written to the standard
897 output are copied with whatever newline sequences they have in the in-
906 that "\r\n" at the ends of output lines that are copied from the input
915 Many of the short and long forms of pcre2grep's options are the same as
921 tor, --output, -P, -u, --utf, -U, and --utf-allow-invalid options are
925 Although most of the common options work the same way, a few are dif-
928 the -i option applies. If both the -c and -l options are given, GNU
935 There are four different ways in which an option with data can be spec-
959 The exceptions to the above are the --colour (or --color) and --only-
973 terns are ignored by pcre2grep. If the facility is partially disabled,
975 it are ignored.
979 mentation for details). Numbered callouts are ignored by pcre2grep;
980 only callouts with string arguments are useful.
1010 fork() and execv() are available.
1020 quences started by a dollar character. These are the same as for the
1038 script are zero-terminated strings. This means that binary zero charac-
1055 the problem to the standard error stream. If there are more than 20
1059 resource limit. There are also other limits that affect the amount of