On Wed, Nov 19, 2014 at 8:59 PM, Jason Vas Dias <[email protected]> wrote: > [..] > It would be nice if -v could mean 'has any non-empty member' for > both associative and normal arrays - I think Piotr's suggestion > to make it do this is a good one.
just as you were writing this, I kind of agreed that using ${#a[*]}
is a better idea :)
Maybe someone will find some solution, without a 20-mails argument ;-)
cheers,
pg
