commit bash-20160115 snapshot

This commit is contained in:
Chet Ramey
2016-01-20 10:41:39 -05:00
parent 725b284a48
commit 1b05a005ef
20 changed files with 127 additions and 82 deletions
+8
View File
@@ -97,3 +97,11 @@ d
c
d
e
x1
x1a
x2
x2a
x2b
x3
x3a
x3b
+21
View File
@@ -0,0 +1,21 @@
echo x1 | ( cat & wait )
echo x1a | ( :& cat & wait )
echo x2 | for f in 1; do
cat & wait
done
echo x2a | if true; then cat & wait; fi
echo x2b | for (( i=0; i < 1; i++ )) ; do cat & wait; done
echo x3 | { cat & wait; }
lambda() { cat & wait; }
echo x3a | lambda
: ${TMPDIR:=/tmp}
SRCF=$TMPDIR/bash-src-$$
cat > $SRCF << \EOF
cat & wait
EOF
echo x3b | . $SRCF
rm -f $SRCF
+2
View File
@@ -155,3 +155,5 @@ $THIS_SH -c 'echo A && /bin/echo B'
$THIS_SH -c '/bin/echo c && echo d'
$THIS_SH -c '/bin/echo c && /bin/echo d && echo e'
${THIS_SH} ./exec13.sub