commit bash-20160401 snapshot

This commit is contained in:
Chet Ramey
2016-04-07 11:40:23 -04:00
parent b78207dd0c
commit b729dac1c8
28 changed files with 7103 additions and 6761 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
+16
View File
@@ -32,3 +32,19 @@ xyz
/tmp/foo/bar
/tmp/foo/bar
/tmp/foo/bar
1
2
3
4
5
6
5
6
a
b
c
a
b
c
1
2
+1
View File
@@ -46,3 +46,4 @@ echo ${foo:-$(echo a{b,c})} >/dev/null
${THIS_SH} ./comsub1.sub
${THIS_SH} ./comsub2.sub
${THIS_SH} ./comsub3.sub
+31
View File
@@ -0,0 +1,31 @@
x=$(
case 1 in
1) echo 1
esac
case 2 in
2) echo 2
esac
)
echo "$x"
x=$(case 1 in 1) echo 3;; esac; case 2 in 2) echo 4;; esac;)
echo "$x"
x=$(case 1 in 1) echo 5;; esac; case 2 in 2) echo 6;; esac)
echo "$x"
x=$(case 1 in 1) echo 5;; esac; case 2 in 2) echo 6;; esac; for f in a b c; do echo "$f" ; done)
echo "$x"
x=$(
for f in a b c; do
echo $f
done
case 1 in
1) echo 1
esac
case 2 in
2) echo 2
esac
)
echo "$x"