changes to several error messages; more test suite additions

This commit is contained in:
Chet Ramey
2023-10-04 15:04:31 -04:00
parent 00edd0ee50
commit 9c83052f48
95 changed files with 1332 additions and 294 deletions
+5
View File
@@ -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)