commit bash-20170113 snapshot

This commit is contained in:
Chet Ramey
2017-01-17 14:20:55 -05:00
parent ee88838cf9
commit 3e8a02a689
8 changed files with 107 additions and 39 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/chet/bash/bash-current
BUILD_DIR=/usr/local/build/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
+8
View File
@@ -94,14 +94,22 @@ a ab
a
. ..
. .. a.log
*(foo)
*(foo|bar)
a.log
?(foo)
a.log
a.log
. ..
. ..
a.log
a.log
.x .y .z
a b c
.x .y .z a b c
a b c
a b c
a b c
a b c
.x .y .z a b c
.x .y .z a b c
+4
View File
@@ -7,14 +7,18 @@ touch a.log
echo *(.)
echo *(.)*
echo *(foo)
echo *(foo|bar)
echo ?(foo)*
echo ?(foo)
echo *(foo)*
echo @(|foo)*
echo *(foo).*
echo *(foo|bar).*
echo !(foo)*
echo !(foo|bar)*
cd $OLDPWD
rm -rf $DIR
+7
View File
@@ -19,6 +19,13 @@ echo @(*|.!(|.)) # wrong, adds . and ..
echo @(*|@(f)) # ??
echo @(*|@(ff))
echo !(f)
echo !(f)!(f)
shopt -s dotglob
echo @(*|@(f))
echo @(*|@(ff))
cd $OLDPWD
rm -rf $GTDIR