mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 21:20:47 +02:00
bash-5.0 distribution sources and documentation
This commit is contained in:
+5
-2
@@ -1,5 +1,5 @@
|
||||
shopt -s extglob
|
||||
DIR=/tmp/extglob-$$
|
||||
DIR=$TMPDIR/extglob-$$
|
||||
mkdir $DIR
|
||||
cd $DIR
|
||||
|
||||
@@ -7,15 +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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user