CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 25/04/11 13:06:09
Index: grep.txt
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.txt,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- grep.txt 17 Mar 2025 18:46:07 -0000 1.36
+++ grep.txt 11 Apr 2025 17:06:05 -0000 1.37
@@ -34,11 +34,11 @@
âgrepâ prints lines that contain a match for one or more patterns.
- This manual is for version 3.11 of GNU Grep.
+ This manual is for version 3.12 of GNU Grep.
This manual is for âgrepâ, a pattern matching engine.
- Copyright © 1999-2002, 2005, 2008-2023 Free Software Foundation, Inc.
+ Copyright © 1999-2002, 2005, 2008-2025 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
@@ -67,7 +67,7 @@
The general synopsis of the âgrepâ command line is
- grep [OPTION...] [PATTERNS] [FILE...]
+ grep [OPTION]... [PATTERNS] [FILE]...
There can be zero or more OPTION arguments, and zero or more FILE
arguments. The PATTERNS argument contains one or more patterns
@@ -128,13 +128,13 @@
this is straightforward when letters differ in case only via
lowercase-uppercase pairs, the behavior is unspecified in other
situations. For example, uppercase "S" has an unusual lowercase
- counterpart "Å¿" (Unicode character U+017F, LATIN SMALL LETTER LONG
+ counterpart "Å¿" (Unicode character U+017F LATIN SMALL LETTER LONG
S) in many locales, and it is unspecified whether this unusual
character matches "S" or "s" even though uppercasing it yields "S".
- Another example: the lowercase German letter "Ã" (U+00DF, LATIN
+ Another example: the lowercase German letter "Ã" (U+00DF LATIN
SMALL LETTER SHARP S) is normally capitalized as the two-character
string "SS" but it does not match "SS", and it might not match the
- uppercase letter "áº" (U+1E9E, LATIN CAPITAL LETTER SHARP S) even
+ uppercase letter "áº" (U+1E9E LATIN CAPITAL LETTER SHARP S) even
though lowercasing the latter yields the former.
â-yâ is an obsolete synonym that is provided for compatibility.
@@ -401,9 +401,11 @@
suppressed, âgrepâ follows any output with a message to standard
error saying that a binary file matches.
- If TYPE is âwithout-matchâ, when âgrepâ discovers null input
binary
- data it assumes that the rest of the file does not match; this is
- equivalent to the â-Iâ option.
+ If TYPE is âwithout-matchâ, when âgrepâ discovers null binary data
+ in an input file it assumes that any unprocessed input does not
+ match; this is equivalent to the â-Iâ option. In this case the
+ region of unprocessed input starts no later than the null binary
+ data, and continues to end of file.
If TYPE is âtextâ, âgrepâ processes binary data as if it were
text;
this is equivalent to the â-aâ option.
@@ -417,6 +419,16 @@
TYPE is âbinaryâ the pattern â.â (period) might not match a null
byte.
+ The heuristic that âgrepâ uses to intuit whether input is binary is
+ specific to âgrepâ and may well be unsuitable for other
+ applications, as it depends on command-line options, on locale, and
+ on hardware and operating system characteristics such as system
+ page size and input buffering. For example, if the input consists
+ of a matching text line followed by nonmatching data that contains
+ a null byte, âgrepâ might either output the matching line or treat
+ the file as binary, depending on whether the unprocessed input
+ happens to include the matching text line.
+
_Warning:_ The â-aâ (â--binary-files=textâ) option might output
binary garbage, which can have nasty side effects if the output is
a terminal and if the terminal driver interprets some of it as
@@ -496,9 +508,9 @@
-------------------
â--â
- Delimit the option list. Later arguments, if any, are treated as
- operands even if they begin with â-â. For example, âgrep PAT --
- -file1 file2â searches for the pattern PAT in the files named
+ Delimit the option list. Any later argument is not treated as an
+ option even if it begins with â-â. For example, âgrep -- -PAT
+ -file1 file2â searches for the pattern â-PATâ in the files named
â-file1â and âfile2â.
â--line-bufferedâ
@@ -757,24 +769,46 @@
â-Pâ
â--perl-regexpâ
Interpret patterns as Perl-compatible regular expressions (PCREs).
- PCRE support is here to stay, but consider this option experimental
- when combined with the â-zâ (â--null-dataâ) option, and note that
- âgrep -Pâ may warn of unimplemented features. *Note Other
- Options::.
For documentation, refer to <https://www.pcre.org/>, with these
caveats:
- ⢠â\dâ matches only the ten ASCII digits (and â\Dâ matches
the
- complement), regardless of locale. Use â\p{Nd}â to also match
- non-ASCII digits. (The behavior of â\dâ and â\Dâ is
- unspecified after in-regexp directives like â(?aD)â.)
+ ⢠In a UTF-8 locale, Perl treats data as UTF-8 only under
+ certain conditions, e.g., if âperlâ is invoked with the â-Câ
+ option or the âPERL_UNICODEâ environment variable set
+ appropriately. Similarly, âpcre2grepâ treats data as UTF-8
+ only if invoked with â-uâ or â-Uâ. In contrast, in a UTF-8
+ locale âgrepâ and âgit grepâ always treat data as UTF-8.
+
+ ⢠In Perl and âgit grep -Pâ, â\dâ matches all Unicode digits,
+ even if they are not ASCII. For example, â\dâ matches "Ù£"
+ (U+0663 ARABIC-INDIC DIGIT THREE). In contrast, in âgrep -Pâ,
+ â\dâ matches only the ten ASCII digits, regardless of locale.
+ In âpcre2grepâ, â\dâ ordinarily behaves like Perl and âgit
+ grep -Pâ, but when given the â--posix-digitâ option it behaves
+ like âgrep -Pâ. (On all platforms, â\Dâ matches the
+ complement of â\dâ.)
+
+ ⢠The pattern â[[:digit:]]â matches all Unicode digits in Perl,
+ âgrep -Pâ, âgit grep -Pâ, and âpcre2grepâ, so you can
use it
+ to get the effect of Perl's â\dâ on all these platforms. In
+ other words, in Perl and âgit grep -Pâ, â\dâ is equivalent to
+ â[[:digit:]]â, whereas in âgrep -Pâ, â\dâ is equivalent
to
+ â[0-9]â, and âpcre2grepâ ordinarily follows Perl but when
+ given â--posix-digitâ it follows âgrep -Pâ.
+
+ (On all these platforms, â[[:digit:]]â is equivalent to
+ â\p{Nd}â and to â\p{General_Category: Decimal_Number}â.)
+
+ ⢠If âgrepâ is built with PCRE2 version 10.43 (2024) or later,
+ â(?aD)â causes â\dâ to behave like â[0-9]â and
â(?-aD)â causes
+ it to behave like â[[:digit:]]â.
⢠Although PCRE tracks the syntax and semantics of Perl's
- regular expressions, the match is not always exact. For
- example, Perl evolves and a Perl installation may predate or
- postdate the PCRE2 installation on the same host, or their
- Unicode versions may differ, or Perl and PCRE2 may disagree
- about an obscure construct.
+ regular expressions, the match is not always exact. Perl
+ evolves and a Perl installation may predate or postdate the
+ PCRE2 installation on the same host, or their Unicode versions
+ may differ, or Perl and PCRE2 may disagree about an obscure
+ construct.
⢠By default, âgrepâ applies each regexp to a line at a time, so
the â(?s)â directive (making â.â match line breaks) is
@@ -873,16 +907,15 @@
closing parenthesis, and might or might not match an encoding error.
Within a bracket expression, a ârange expressionâ consists of two
-characters separated by a hyphen. It matches any single character that
-sorts between the two characters, inclusive. In the default C locale,
-the sorting sequence is the native character order; for example, â[a-d]â
-is equivalent to â[abcd]â. In other locales, the sorting sequence is
-not specified, and â[a-d]â might be equivalent to â[abcd]â or to
-â[aBbCcDd]â, or it might fail to match any character, or the set of
-characters that it matches might be erratic, or it might be invalid. To
-obtain the traditional interpretation of bracket expressions, you can
-use the âCâ locale by setting the âLC_ALLâ environment variable to the
-value âCâ.
+characters separated by a hyphen. In the default C locale, it matches
+any single character that appears between the two characters in ASCII
+order, inclusive. For example, â[a-d]â is equivalent to â[abcd]â. In
+other locales the behavior is unspecified: â[a-d]â might be equivalent
+to â[abcd]â or â[aBbCcDd]â or some other bracket expression, or it
might
+fail to match any character, or the set of characters that it matches
+might be erratic, or it might be invalid. To obtain the traditional
+interpretation of bracket expressions, you can use the âCâ locale by
+setting the âLC_ALLâ environment variable to the value âCâ.
Finally, certain named classes of characters are predefined within
bracket expressions, as follows. Their interpretation depends on the
@@ -1184,8 +1217,9 @@
locales â[a-z]â might match some characters that are not lowercase
letters, or might not match some lowercase letters, or might be
invalid. With GNU âgrepâ it is not documented whether these range
- expressions use native code points, or use the collating sequence
- specified by the âLC_COLLATEâ category, or have some other
+ expressions use native code points, or use the collation sequence
+ specified by the âLC_COLLATEâ category, or use the collation
+ ordering used by âsortâ and âstrcollâ, or have some other
interpretation. Outside the POSIX locale, it is portable to use
â[[:lower:]]â to match a lower-case letter, or
â[abcdefghijklmnopqrstuvwxyz]â to match an ASCII lower-case letter.
@@ -1374,7 +1408,7 @@
âpsâ limits the output to the width of the screen; âgrepâ does not
have any limit on the length of a line except the available memory.
- 8. Why does âgrepâ report "Binary file matches"?
+ 8. Why does âgrepâ report "binary file matches"?
If âgrepâ listed all matching "lines" from a binary file, it would
probably generate output that is not useful, and it might even muck
@@ -1642,8 +1676,8 @@
Version 1.3, 3 November 2008
- Copyright © 2000-2002, 2007-2008, 2023 Free Software Foundation,
- Inc.
+ Copyright © 2000-2002, 2007-2008, 2023-2025 Free Software
+ Foundation, Inc.
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
@@ -2122,13 +2156,13 @@
* Menu:
-* --: Other Options. (line 498)
+* --: Other Options. (line 510)
* --after-context: Context Line Control.
(line 340)
-* --basic-regexp: grep Programs. (line 743)
+* --basic-regexp: grep Programs. (line 755)
* --before-context: Context Line Control.
(line 344)
-* --binary: Other Options. (line 513)
+* --binary: Other Options. (line 525)
* --binary-files: File and Directory Selection.
(line 390)
* --byte-offset: Output Line Prefix Control.
@@ -2142,24 +2176,24 @@
* --count: General Output Control.
(line 182)
* --dereference-recursive: File and Directory Selection.
- (line 491)
+ (line 503)
* --devices: File and Directory Selection.
- (line 429)
+ (line 441)
* --directories: File and Directory Selection.
- (line 440)
+ (line 452)
* --exclude: File and Directory Selection.
- (line 451)
+ (line 463)
* --exclude-dir: File and Directory Selection.
- (line 465)
+ (line 477)
* --exclude-from: File and Directory Selection.
- (line 461)
-* --extended-regexp: grep Programs. (line 748)
+ (line 473)
+* --extended-regexp: grep Programs. (line 760)
* --file: Matching Control. (line 116)
* --files-with-matches: General Output Control.
(line 212)
* --files-without-match: General Output Control.
(line 207)
-* --fixed-strings: grep Programs. (line 753)
+* --fixed-strings: grep Programs. (line 765)
* --group-separator: Context Line Control.
(line 352)
* --group-separator <1>: Context Line Control.
@@ -2168,13 +2202,13 @@
(line 94)
* --ignore-case: Matching Control. (line 125)
* --include: File and Directory Selection.
- (line 475)
+ (line 487)
* --initial-tab: Output Line Prefix Control.
(line 310)
* --invert-match: Matching Control. (line 150)
* --label: Output Line Prefix Control.
(line 297)
-* --line-buffered: Other Options. (line 504)
+* --line-buffered: Other Options. (line 516)
* --line-number: Output Line Prefix Control.
(line 305)
* --line-regexp: Matching Control. (line 172)
@@ -2187,14 +2221,14 @@
(line 269)
* --null: Output Line Prefix Control.
(line 319)
-* --null-data: Other Options. (line 534)
+* --null-data: Other Options. (line 546)
* --only-matching: General Output Control.
(line 252)
-* --perl-regexp: grep Programs. (line 758)
+* --perl-regexp: grep Programs. (line 770)
* --quiet: General Output Control.
(line 260)
* --recursive: File and Directory Selection.
- (line 483)
+ (line 495)
* --regexp=PATTERNS: Matching Control. (line 107)
* --silent: General Output Control.
(line 260)
@@ -2218,14 +2252,14 @@
* -C: Context Line Control.
(line 349)
* -D: File and Directory Selection.
- (line 429)
+ (line 441)
* -d: File and Directory Selection.
- (line 440)
+ (line 452)
* -e: Matching Control. (line 107)
-* -E: grep Programs. (line 748)
+* -E: grep Programs. (line 760)
* -f: Matching Control. (line 116)
-* -F: grep Programs. (line 753)
-* -G: grep Programs. (line 743)
+* -F: grep Programs. (line 765)
+* -G: grep Programs. (line 755)
* -H: Output Line Prefix Control.
(line 287)
* -h: Output Line Prefix Control.
@@ -2243,18 +2277,18 @@
(line 349)
* -o: General Output Control.
(line 252)
-* -P: grep Programs. (line 758)
+* -P: grep Programs. (line 770)
* -q: General Output Control.
(line 260)
* -r: File and Directory Selection.
- (line 483)
+ (line 495)
* -R: File and Directory Selection.
- (line 491)
+ (line 503)
* -s: General Output Control.
(line 269)
* -T: Output Line Prefix Control.
(line 310)
-* -U: Other Options. (line 513)
+* -U: Other Options. (line 525)
* -V: Generic Program Information.
(line 99)
* -v: Matching Control. (line 150)
@@ -2263,86 +2297,86 @@
* -y: Matching Control. (line 125)
* -Z: Output Line Prefix Control.
(line 319)
-* -z: Other Options. (line 534)
+* -z: Other Options. (line 546)
* ?: Fundamental Structure.
- (line 824)
+ (line 858)
* .: Fundamental Structure.
- (line 816)
+ (line 850)
* {,M}: Fundamental Structure.
- (line 839)
+ (line 873)
* {N,}: Fundamental Structure.
- (line 836)
+ (line 870)
* {N,M}: Fundamental Structure.
- (line 843)
+ (line 877)
* {N}: Fundamental Structure.
- (line 833)
+ (line 867)
* *: Fundamental Structure.
- (line 827)
+ (line 861)
* +: Fundamental Structure.
- (line 830)
+ (line 864)
* after context: Context Line Control.
(line 340)
* alnum character class: Character Classes and Bracket
Expressions.
- (line 892)
+ (line 925)
* alpha character class: Character Classes and Bracket
Expressions.
- (line 897)
+ (line 930)
* alphabetic characters: Character Classes and Bracket
Expressions.
- (line 897)
+ (line 930)
* alphanumeric characters: Character Classes and Bracket
Expressions.
- (line 892)
+ (line 925)
* alternatives in regular expressions: Fundamental Structure.
- (line 851)
-* anchoring: Anchoring. (line 1033)
+ (line 885)
+* anchoring: Anchoring. (line 1066)
* asterisk: Fundamental Structure.
- (line 827)
+ (line 861)
* back-reference: Back-references and Subexpressions.
- (line 1041)
-* back-references: Performance. (line 1527)
+ (line 1074)
+* back-references: Performance. (line 1561)
* backslash: Special Backslash Expressions.
- (line 987)
-* basic regular expressions: Basic vs Extended. (line 1057)
+ (line 1020)
+* basic regular expressions: Basic vs Extended. (line 1090)
* before context: Context Line Control.
(line 344)
* binary files: File and Directory Selection.
(line 386)
* binary files <1>: File and Directory Selection.
(line 390)
-* binary I/O: Other Options. (line 513)
+* binary I/O: Other Options. (line 525)
* blank character class: Character Classes and Bracket
Expressions.
- (line 902)
+ (line 935)
* blank characters: Character Classes and Bracket
Expressions.
- (line 902)
+ (line 935)
* bn GREP_COLORS capability: Environment Variables.
- (line 653)
+ (line 665)
* braces, first argument omitted: Fundamental Structure.
- (line 839)
+ (line 873)
* braces, one argument: Fundamental Structure.
- (line 833)
+ (line 867)
* braces, second argument omitted: Fundamental Structure.
- (line 836)
+ (line 870)
* braces, two arguments: Fundamental Structure.
- (line 843)
+ (line 877)
* bracket expression: Character Classes and Bracket
Expressions.
- (line 866)
-* Bugs, known: Known Bugs. (line 1598)
-* bugs, reporting: Reporting Bugs. (line 1590)
+ (line 900)
+* Bugs, known: Known Bugs. (line 1632)
+* bugs, reporting: Reporting Bugs. (line 1624)
* byte offset: Output Line Prefix Control.
(line 281)
* case insensitive search: Matching Control. (line 125)
-* case insensitive search <1>: Performance. (line 1513)
+* case insensitive search <1>: Performance. (line 1547)
* changing name of standard input: Output Line Prefix Control.
(line 297)
* character class: Character Classes and Bracket
Expressions.
- (line 866)
+ (line 900)
* character classes: Character Classes and Bracket
Expressions.
- (line 891)
-* character encoding: Character Encoding. (line 1195)
+ (line 924)
+* character encoding: Character Encoding. (line 1229)
* character type: Environment Variables.
- (line 680)
+ (line 692)
* classes of characters: Character Classes and Bracket
Expressions.
- (line 891)
+ (line 924)
* cntrl character class: Character Classes and Bracket
Expressions.
- (line 905)
+ (line 938)
* context lines: General Output Control.
(line 244)
* context lines <1>: Context Line Control.
@@ -2354,257 +2388,258 @@
* context lines, before match: Context Line Control.
(line 344)
* control characters: Character Classes and Bracket
Expressions.
- (line 905)
-* copying: Copying. (line 1618)
+ (line 938)
+* copying: Copying. (line 1652)
* counting lines: General Output Control.
(line 182)
* cx GREP_COLORS capability: Environment Variables.
- (line 604)
+ (line 616)
* device search: File and Directory Selection.
- (line 429)
+ (line 441)
* digit character class: Character Classes and Bracket
Expressions.
- (line 910)
+ (line 943)
* digit characters: Character Classes and Bracket
Expressions.
- (line 910)
+ (line 943)
* directory search: File and Directory Selection.
- (line 440)
+ (line 452)
* dot: Fundamental Structure.
- (line 816)
+ (line 850)
* encoding error: Environment Variables.
- (line 687)
+ (line 699)
* environment variables: Environment Variables.
- (line 560)
+ (line 572)
* exclude directories: File and Directory Selection.
- (line 465)
+ (line 477)
* exclude files: File and Directory Selection.
- (line 451)
+ (line 463)
* exclude files <1>: File and Directory Selection.
- (line 461)
-* exit status: Exit Status. (line 725)
-* FAQ about grep usage: Usage. (line 1279)
+ (line 473)
+* exit status: Exit Status. (line 737)
+* FAQ about grep usage: Usage. (line 1313)
* files which don't match: General Output Control.
(line 207)
* fn GREP_COLORS capability: Environment Variables.
- (line 643)
+ (line 655)
* fn GREP_COLORS capability <1>: Environment Variables.
- (line 658)
+ (line 670)
* graph character class: Character Classes and Bracket
Expressions.
- (line 913)
+ (line 946)
* graphic characters: Character Classes and Bracket
Expressions.
- (line 913)
-* grep programs: grep Programs. (line 734)
+ (line 946)
+* grep programs: grep Programs. (line 746)
* GREP_COLOR environment variable: Environment Variables.
- (line 563)
+ (line 575)
* GREP_COLORS environment variable: Environment Variables.
- (line 569)
+ (line 581)
* group separator: Context Line Control.
(line 352)
* group separator <1>: Context Line Control.
(line 356)
* hexadecimal digits: Character Classes and Bracket
Expressions.
- (line 937)
+ (line 970)
* highlight markers: Environment Variables.
- (line 563)
+ (line 575)
* highlight markers <1>: Environment Variables.
- (line 569)
+ (line 581)
* highlight, color, colour: General Output Control.
(line 188)
-* holes in files: Performance. (line 1537)
+* holes in files: Performance. (line 1571)
* include files: File and Directory Selection.
- (line 475)
+ (line 487)
* interval expressions: Fundamental Structure.
- (line 819)
-* interval expressions <1>: Performance. (line 1518)
+ (line 853)
+* interval expressions <1>: Performance. (line 1552)
* invalid regular expressions: Problematic Expressions.
- (line 1082)
+ (line 1115)
* invert matching: Matching Control. (line 150)
* LANG environment variable: Environment Variables.
- (line 546)
+ (line 558)
* LANG environment variable <1>: Environment Variables.
- (line 680)
+ (line 692)
* LANG environment variable <2>: Environment Variables.
- (line 687)
+ (line 699)
* LANG environment variable <3>: Environment Variables.
- (line 696)
+ (line 708)
* LANGUAGE environment variable: Environment Variables.
- (line 546)
+ (line 558)
* LANGUAGE environment variable <1>: Environment Variables.
- (line 696)
+ (line 708)
* language of messages: Environment Variables.
- (line 696)
+ (line 708)
* LC_ALL environment variable: Environment Variables.
- (line 546)
+ (line 558)
* LC_ALL environment variable <1>: Environment Variables.
- (line 680)
+ (line 692)
* LC_ALL environment variable <2>: Environment Variables.
- (line 687)
+ (line 699)
* LC_ALL environment variable <3>: Environment Variables.
- (line 696)
+ (line 708)
* LC_COLLATE environment variable: Environment Variables.
- (line 680)
+ (line 692)
* LC_CTYPE environment variable: Environment Variables.
- (line 687)
+ (line 699)
* LC_MESSAGES environment variable: Environment Variables.
- (line 546)
+ (line 558)
* LC_MESSAGES environment variable <1>: Environment Variables.
- (line 696)
-* line buffering: Other Options. (line 504)
+ (line 708)
+* line buffering: Other Options. (line 516)
* line numbering: Output Line Prefix Control.
(line 305)
* ln GREP_COLORS capability: Environment Variables.
- (line 648)
-* locales: Performance. (line 1506)
+ (line 660)
+* locales: Performance. (line 1540)
* lower character class: Character Classes and Bracket
Expressions.
- (line 916)
+ (line 949)
* lower-case letters: Character Classes and Bracket
Expressions.
- (line 916)
+ (line 949)
* match expression at most M times: Fundamental Structure.
- (line 839)
+ (line 873)
* match expression at most once: Fundamental Structure.
- (line 824)
+ (line 858)
* match expression from N to M times: Fundamental Structure.
- (line 843)
+ (line 877)
* match expression N or more times: Fundamental Structure.
- (line 836)
+ (line 870)
* match expression N times: Fundamental Structure.
- (line 833)
+ (line 867)
* match expression one or more times: Fundamental Structure.
- (line 830)
+ (line 864)
* match expression zero or more times: Fundamental Structure.
- (line 827)
+ (line 861)
* match the whole line: Matching Control. (line 172)
-* matching basic regular expressions: grep Programs. (line 743)
-* matching extended regular expressions: grep Programs. (line 748)
-* matching fixed strings: grep Programs. (line 753)
+* matching basic regular expressions: grep Programs. (line 755)
+* matching extended regular expressions: grep Programs. (line 760)
+* matching fixed strings: grep Programs. (line 765)
* matching Perl-compatible regular expressions: grep Programs.
- (line 758)
+ (line 770)
* matching whole words: Matching Control. (line 155)
* max-count: General Output Control.
(line 218)
* mc GREP_COLORS capability: Environment Variables.
- (line 635)
+ (line 647)
* message language: Environment Variables.
- (line 696)
+ (line 708)
* ms GREP_COLORS capability: Environment Variables.
- (line 627)
-* MS-Windows binary I/O: Other Options. (line 513)
+ (line 639)
+* MS-Windows binary I/O: Other Options. (line 525)
* mt GREP_COLORS capability: Environment Variables.
- (line 619)
+ (line 631)
* names of matching files: General Output Control.
(line 212)
* national language support: Environment Variables.
- (line 680)
+ (line 692)
* national language support <1>: Environment Variables.
- (line 696)
+ (line 708)
* ne GREP_COLORS capability: Environment Variables.
- (line 665)
+ (line 677)
* NLS: Environment Variables.
- (line 680)
+ (line 692)
* no filename prefix: Output Line Prefix Control.
(line 292)
-* non-ASCII matching: Matching Non-ASCII. (line 1220)
-* non-printable matching: Matching Non-ASCII. (line 1220)
+* non-ASCII matching: Matching Non-ASCII. (line 1254)
+* non-printable matching: Matching Non-ASCII. (line 1254)
* null character: Environment Variables.
- (line 687)
+ (line 699)
* numeric characters: Character Classes and Bracket
Expressions.
- (line 910)
+ (line 943)
* only matching: General Output Control.
(line 252)
-* option delimiter: Other Options. (line 498)
+* option delimiter: Other Options. (line 510)
* ordinary characters: Fundamental Structure.
- (line 811)
+ (line 845)
* patterns from file: Matching Control. (line 116)
* patterns option: Matching Control. (line 107)
-* performance: Performance. (line 1492)
+* performance: Performance. (line 1526)
* period: Fundamental Structure.
- (line 816)
-* pipelines and reading: Performance. (line 1545)
+ (line 850)
+* pipelines and reading: Performance. (line 1579)
* plus sign: Fundamental Structure.
- (line 830)
+ (line 864)
* POSIXLY_CORRECT environment variable: Environment Variables.
- (line 701)
+ (line 713)
* print character class: Character Classes and Bracket
Expressions.
- (line 920)
+ (line 953)
* print non-matching lines: Matching Control. (line 150)
* printable characters: Character Classes and Bracket
Expressions.
- (line 920)
+ (line 953)
* punct character class: Character Classes and Bracket
Expressions.
- (line 923)
+ (line 956)
* punctuation characters: Character Classes and Bracket
Expressions.
- (line 923)
+ (line 956)
* question mark: Fundamental Structure.
- (line 824)
+ (line 858)
* quiet, silent: General Output Control.
(line 260)
* range expression: Character Classes and Bracket
Expressions.
- (line 874)
+ (line 908)
* recursive search: File and Directory Selection.
- (line 483)
+ (line 495)
* recursive search <1>: File and Directory Selection.
- (line 491)
+ (line 503)
* regular expressions: Regular Expressions.
- (line 793)
-* return status: Exit Status. (line 725)
+ (line 827)
+* return status: Exit Status. (line 737)
* rv GREP_COLORS capability: Environment Variables.
- (line 613)
+ (line 625)
* searching directory trees: File and Directory Selection.
- (line 451)
+ (line 463)
* searching directory trees <1>: File and Directory Selection.
- (line 461)
+ (line 473)
* searching directory trees <2>: File and Directory Selection.
- (line 475)
+ (line 487)
* searching directory trees <3>: File and Directory Selection.
- (line 483)
+ (line 495)
* searching directory trees <4>: File and Directory Selection.
- (line 491)
+ (line 503)
* searching for patterns: Introduction. (line 52)
* sl GREP_COLORS capability: Environment Variables.
- (line 596)
+ (line 608)
* space character class: Character Classes and Bracket
Expressions.
- (line 928)
+ (line 961)
* space characters: Character Classes and Bracket
Expressions.
- (line 928)
+ (line 961)
* special characters: Fundamental Structure.
- (line 811)
+ (line 845)
* subexpression: Back-references and Subexpressions.
- (line 1041)
+ (line 1074)
* suppress binary data: File and Directory Selection.
(line 386)
* suppress error messages: General Output Control.
(line 269)
* symbolic links: File and Directory Selection.
- (line 440)
+ (line 452)
* symbolic links <1>: File and Directory Selection.
- (line 483)
+ (line 495)
* symbolic links <2>: File and Directory Selection.
- (line 491)
+ (line 503)
* tab-aligned content lines: Output Line Prefix Control.
(line 310)
* TERM environment variable: Environment Variables.
- (line 708)
+ (line 720)
* translation of message language: Environment Variables.
- (line 696)
+ (line 708)
* unspecified behavior in regular expressions: Problematic Expressions.
- (line 1082)
+ (line 1115)
* upper character class: Character Classes and Bracket
Expressions.
- (line 933)
+ (line 966)
* upper-case letters: Character Classes and Bracket
Expressions.
- (line 933)
+ (line 966)
* usage summary, printing: Generic Program Information.
(line 94)
-* usage, examples: Usage. (line 1253)
-* using grep, Q&A: Usage. (line 1279)
-* variants of grep: grep Programs. (line 734)
+* usage, examples: Usage. (line 1287)
+* using grep, Q&A: Usage. (line 1313)
+* variants of grep: grep Programs. (line 746)
* version, printing: Generic Program Information.
(line 99)
* whitespace characters: Character Classes and Bracket
Expressions.
- (line 928)
+ (line 961)
* with filename prefix: Output Line Prefix Control.
(line 287)
* xdigit character class: Character Classes and Bracket
Expressions.
- (line 937)
+ (line 970)
* xdigit class: Character Classes and Bracket
Expressions.
- (line 937)
+ (line 970)
* zero-terminated file names: Output Line Prefix Control.
(line 319)
-* zero-terminated lines: Other Options. (line 534)
+* zero-terminated lines: Other Options. (line 546)
+