4 # these should all result in the empty (null) string
28 # these next four will all echo /
30 # arrays are zero-based
33 # but the positional parameters start at 1
40 # arrays are zero-based
47 # these should all result in the empty (null) string, or quoted as such
63 # examples from the bug report
67 for i in "${a[@]%/}"; do recho "$i"; done
70 for i in "${a[@]}"; do recho "$i"; done
74 for i in "${a[@]%/}"; do recho "$i"; done
80 echo "${#x[@]}:${#y[@]}"