Discussion:
[ast-users] array count -- quoting and @ vs *
Aaron Davies
2015-09-20 20:28:26 UTC
Permalink
arrays expand differently when indexed with @ and quoted ("${vname[@]}")

this also applies to the key expansion "${!vname[@]}"

can there ever be any difference between ${#vname[@]}, ${#vname[*]}, "${#vname[@]}", and "${#vname[*]}"?
--
Aaron Davies
***@gmail.com
Loading...