projects
/
external
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.3.1 release
[external/bash.git]
/
tests
/
globstar1.sub
1
shopt -s globstar
2
wdir=$PWD
3
4
: ${TMPDIR:=/var/tmp}
5
DIR=$TMPDIR/globstar-$$
6
mkdir -p $DIR
7
cd $DIR || {
8
echo "$DIR: cannot cd" >&2
9
exit 1
10
}
11
mkdir -p foo/{a,b} bar/{c,d,foo/{e,f}} baz/{g,h}
12
13
14
echo **/foo*
15
16
echo **/foo*/
17
18
echo **/foo*/*
19
20
cd $wdir
21
rm -rf $DIR