On Wed, Nov 19, 2014 at 9:56 PM, Greg Wooledge <wool...@eeg.ccf.org> wrote: > > That would break existing scripts. $#a already means "argc followed by > the letter a". > > If you meant ${#a}, that would *still* break existing scripts, because > ${#a} when a is an array currently means "the length of a[0]".
yes, right of course. but dont you think that there should be something that returns length of an object, in the above sense? pg