commit bash-20160708 snapshot

This commit is contained in:
Chet Ramey
2016-07-11 10:29:26 -04:00
parent d994b9d612
commit 6df81145a8
83 changed files with 10137 additions and 7404 deletions
+3
View File
@@ -1,3 +1,6 @@
LANG=C
LC_ALL=C
: ${TMPDIR:=/tmp}
GTDIR=$TMPDIR/extglob4-$$
-1
View File
@@ -235,7 +235,6 @@ declare -a foo=([0]="7")
./nameref12.sub: line 26: declare: `42': not a valid identifier
./nameref12.sub: line 27: declare: x: not found
declare -nr RO="foo"
0 0
/
./nameref12.sub: line 45: declare: `7*6': not a valid identifier
./nameref12.sub: line 45: declare: foo: not found
+1 -1
View File
@@ -11,7 +11,7 @@ f() { declare -n r; }; r=/ f ; unset r
f() { echo $r; }; declare -n r; r=/ f ; unset -n r
declare -n r; : ${r:=/} ; unset -n r
declare -n r; exec {r}>/dev/null ; unset -n r
declare -n r; coproc r { :; }; echo $r ; unset r
declare -n r; coproc r { :; }; echo $r ; unset r ; wait
declare -r RO=x; r=$RO; declare -n r; x=y; declare -n RO; RO=z; declare -p RO; echo "$RO"
s=/; declare -n r=s; declare -n s; echo $r ; unset -n r ; unset -n s
declare -n r=s; declare -n s; s=/ ; unset -n r; unset -n s
+1 -1
View File
@@ -36,7 +36,7 @@ unset -n r; unset r
f() { echo $r; }
declare -n r
r=/ /usr/bin/sum < /dev/null
r=/ ${THIS_SH} < /dev/null
r=/ f
unset -f f