Robert Elz <k...@munnari.oz.au> wrote, on 15 May 2017:
>
>   | ${#-} and ${#?} are the lengths of $- and $? (not treated as ${var-word}
>   | or ${var?word} with an empty word).
> 
> Thanks, I should add tests for those as well, (and ${#$} etc too, though they
> have no other possible meaning).   (We do have tests for many other
> non-controversial, or just plain boring, cases, of course - but those ones
> I did not think of.)
[...]
> I expect that ${#:-} (etc) are treated the other way, right?  As would 
> be ${#-word} with a non-empty word.

Right.

-- 
Geoff Clare <g.cl...@opengroup.org>
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England

Reply via email to