svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

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

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