On 3/4/19 10:53 PM, Grisha Levit wrote:
> The changes in [1] to parameter_brace_expand_rhs (for the fix for [2])
> created (exposed?) an issue with ${var=$*} expansion when $* is
> multiple nulls and IFS is unset:

Yes, it was exposed, since the `=' operator takes some special handling
that affects state.


> This seems to be related to the special-casing of unset IFS at [3]
> which I don't really understand if an unset IFS is supposed to be the
> same as $' \t\n'.  Getting rid of that "IFS unset" case and having the
> "IFS set to non-null value" case apply to unset IFS seems to resolve
> this issue.

Thanks for the pointer to the fix.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to