mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 01:20:00 +02:00
commit bash-20170505 snapshot
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
||||
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||
THIS_SH=$BUILD_DIR/bash
|
||||
PATH=$PATH:$BUILD_DIR
|
||||
|
||||
|
||||
@@ -64,11 +64,11 @@ fx ()
|
||||
0
|
||||
1
|
||||
2
|
||||
./arith-for.tests: line 77: syntax error: arithmetic expression required
|
||||
./arith-for.tests: line 77: syntax error: `(( i=0; "i < 3" ))'
|
||||
/usr/local/build/chet/bash/bash-current/bash: -c: line 0: syntax error: arithmetic expression required
|
||||
/usr/local/build/chet/bash/bash-current/bash: -c: line 0: syntax error: `(( i=0; "i < 3" ))'
|
||||
2
|
||||
./arith-for.tests: line 83: syntax error: `;' unexpected
|
||||
./arith-for.tests: line 83: syntax error: `(( i=0; i < 3; i++; 7 ))'
|
||||
/usr/local/build/chet/bash/bash-current/bash: -c: line 0: syntax error: `;' unexpected
|
||||
/usr/local/build/chet/bash/bash-current/bash: -c: line 0: syntax error: `(( i=0; i < 3; i++; 7 ))'
|
||||
2
|
||||
20
|
||||
20
|
||||
|
||||
@@ -74,16 +74,16 @@ type fx
|
||||
fx
|
||||
|
||||
# errors
|
||||
for (( i=0; "i < 3" ))
|
||||
${THIS_SH} -c 'for (( i=0; "i < 3" ))
|
||||
do
|
||||
echo $i
|
||||
done
|
||||
done'
|
||||
echo $?
|
||||
|
||||
for (( i=0; i < 3; i++; 7 ))
|
||||
${THIS_SH} -c 'for (( i=0; i < 3; i++; 7 ))
|
||||
do
|
||||
echo $i
|
||||
done
|
||||
done'
|
||||
echo $?
|
||||
|
||||
# one-liners added in post-bash-2.04
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ bar')
|
||||
echo ${foo:-$(echo a{b,c})} >/dev/null
|
||||
|
||||
# parsing problem based on recursively calling bison parser through bash-4.4
|
||||
for (( INDEX=0; INDEX<$((10-$(expr length $V_NAME))); INDEX++ ))
|
||||
for (( INDEX=0; INDEX<$((10-$(echo length $V_NAME))); INDEX++ ))
|
||||
do
|
||||
:
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user