nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

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