projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git]
/
tests
/
extglob1a.sub
1
shopt -s extglob
2
3
TESTDIR=${TMPDIR:-/tmp}/eglob-test-$$
4
mkdir $TESTDIR
5
builtin cd $TESTDIR || { echo $0: cannot cd to $TESTDIR >&2 ; exit 1; }
6
rm -rf *
7
8
touch a ab ba
9
10
echo a*!(x)
11
echo a!(x)
12
echo a*?(x)
13
echo a?(x)
14
15
builtin cd /
16
rm -rf $TESTDIR