Package: grep / 2.20-4.1

80-587930-man-ere-reference.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -118,7 +118,7 @@
 .BR \-P ", " \-\^\-perl\-regexp
 Interpret
 .I PATTERN
-as a Perl regular expression.
+as a Perl regular expression (PCRE, see below).
 This is highly experimental and
 .B "grep \-P"
 may warn of unimplemented features.
@@ -591,7 +591,7 @@
 .PP
 .B grep
 understands three different versions of regular expression syntax:
-\*(lqbasic,\*(rq \*(lqextended\*(rq and \*(lqperl.\*(rq In
+\*(lqbasic\*(rq (BRE), \*(lqextended\*(rq (ERE) and \*(lqperl\*(rq (PRCE). In
 .RB "\s-1GNU\s0\ " grep ,
 there is no difference in available functionality between basic and
 extended syntaxes.
@@ -599,8 +599,8 @@
 The following description applies to extended regular expressions;
 differences for basic regular expressions are summarized afterwards.
 Perl regular expressions give additional functionality, and are
-documented in pcresyntax(3) and pcrepattern(3), but may not be
-available on every system.
+documented in pcresyntax(3) and pcrepattern(3), but only work if pcre
+is available in the system.
 .PP
 The fundamental building blocks are the regular expressions
 that match a single character.
--- a/doc/grep.info
+++ b/doc/grep.info
@@ -783,7 +783,7 @@
 
 `-P'
 `--perl-regexp'
-     Interpret the pattern as a Perl regular expression.  This is
+     Interpret the pattern as a Perl regular expression (PCRE). This is
      highly experimental and `grep -P' may warn of unimplemented
      features.
 
@@ -804,7 +804,7 @@
 Regular expressions are constructed analogously to arithmetic
 expressions, by using various operators to combine smaller expressions.
 `grep' understands three different versions of regular expression
-syntax: "basic," (BRE) "extended" (ERE) and "perl".  In GNU `grep',
+syntax: "basic," (BRE) "extended" (ERE) and "perl" (PERL).  In GNU `grep',
 there is no difference in available functionality between the basic and
 extended syntaxes.  In other implementations, basic regular expressions
 are less powerful.  The following description applies to extended