On Friday, March 01, 2013 01:06:27 PM Thorsten Glaser wrote: > Hrm, but the docs, both, specifically say that (unquoted) $@ behaves > like $* except in the face of no arguments, so I cannot do that. > > But thanks for the feedback. My reading differed, but you have a > point, and the others can be kept as-is. >
I think the root of the problem is trying to force unquoted $@ to be like $* instead of the other way around. That's how bash (if not for the bug) and ksh93 manage to do this while remaining consistent with the spec. -- Dan Douglas