nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/bash-4.2-extglob-man.patch

1d932a
diff --git a/doc/bash.1 b/doc/bash.1
1d932a
--- a/doc/bash.1	2010-07-28 08:42:54.000000000 +0200
1d932a
+++ b/doc/bash.1	2010-07-28 08:43:17.000000000 +0200
1d932a
@@ -3220,8 +3220,7 @@
1d932a
 .RE
1d932a
 .PD
1d932a
 .PP
1d932a
-If the \fBextglob\fP shell option is enabled using the \fBshopt\fP
1d932a
-builtin, several extended pattern matching operators are recognized.
1d932a
+Several extended pattern matching operators are recognized.
1d932a
 In the following description, a \fIpattern-list\fP is a list of one
1d932a
 or more patterns separated by a \fB|\fP.
1d932a
 Composite patterns may be formed using one or more of the following
1d932a
@@ -3241,6 +3240,14 @@
1d932a
 .TP
1d932a
 \fB@(\fP\^\fIpattern-list\^\fP\fB)\fP
1d932a
 Matches one of the given patterns
1d932a
+.RE
1d932a
+.PD
1d932a
+.PP
1d932a
+If the \fBextglob\fP shell option is enabled using the \fBshopt\fP
1d932a
+builtin, following pattern matching operator is recognized as well:
1d932a
+.sp 1
1d932a
+.PD 0
1d932a
+.RS
1d932a
 .TP
1d932a
 \fB!(\fP\^\fIpattern-list\^\fP\fB)\fP
1d932a
 Matches anything except one of the given patterns