$ x=(x); echo ${#x[@]}; shopt -s nullglob; unset x[0]; echo ${#x[@]}
1
1
$ x=(x); echo ${#x[@]}; shopt -u nullglob; unset x[0]; echo ${#x[@]}
1
0- nullglob make unset on array member fail ? admn ombres
- Re: nullglob make unset on array member fail ? Greg Wooledge
- Re: nullglob make unset on array member fail ? Chet Ramey
