commit bash-20151023 snapshot

This commit is contained in:
Chet Ramey
2015-11-02 10:49:23 -05:00
parent 33723c8402
commit 07357ec296
64 changed files with 6405 additions and 8823 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
+10 -4
View File
@@ -236,14 +236,20 @@ ok
0
0, 0
0, 1
efg
e
efg
e
abcdefg
efg
8 12
./arith.tests: line 290: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
./arith.tests: line 294: a b: syntax error in expression (error token is "b")
./arith.tests: line 295: ((: a b: syntax error in expression (error token is "b")
./arith.tests: line 294: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
./arith.tests: line 298: a b: syntax error in expression (error token is "b")
./arith.tests: line 299: ((: a b: syntax error in expression (error token is "b")
42
42
42
42
42
42
./arith.tests: line 306: b[c]d: syntax error in expression (error token is "d")
./arith.tests: line 310: b[c]d: syntax error in expression (error token is "d")
+4
View File
@@ -279,6 +279,10 @@ ${THIS_SH} ./arith5.sub
# problems with suppressing evaluation present through bash-4.2
${THIS_SH} ./arith6.sub
# problems with parsing arithmetic expressions containing colons that are
# part of word expansions such as substring extraction
${THIS_SH} ./arith7.sub
x=4
y=7
+11
View File
@@ -0,0 +1,11 @@
PARAM=abcdefg
echo ${PARAM:1 ? 4 : 2}
echo ${PARAM:1 ? 4 : 2:1}
echo ${PARAM: 4<5 ? 4 : 2}
echo ${PARAM: 5>4 ? 4 : 2:1}
echo ${PARAM:${OFFSET:-0}}
OFFSET=4
echo ${PARAM:${OFFSET:-0}}
+3
View File
@@ -33,6 +33,7 @@ shopt -u histreedit
shopt -u histverify
shopt -s hostcomplete
shopt -u huponexit
shopt -u inherit_errexit
shopt -s interactive_comments
shopt -u lastpipe
shopt -u lithist
@@ -90,6 +91,7 @@ shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -u huponexit
shopt -u inherit_errexit
shopt -u lastpipe
shopt -u lithist
shopt -u login_shell
@@ -127,6 +129,7 @@ histappend off
histreedit off
histverify off
huponexit off
inherit_errexit off
lastpipe off
lithist off
login_shell off