nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

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