mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
changes to several error messages; more test suite additions
This commit is contained in:
@@ -228,6 +228,11 @@ unset xpath[nelem-1]
|
||||
nelem=${#xpath[@]}
|
||||
echo ${#xpath[@]} -- $nelem
|
||||
|
||||
# error
|
||||
echo ${#xpath[-10]}
|
||||
# zero length for unset elements
|
||||
echo ${#xpath[42]}
|
||||
|
||||
# arrays and things that look like index assignments
|
||||
array=(42 [1]=14 [2]=44)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user