[Bug 251770] /bin/sh: false expansion
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 3 13:52:25 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251770
--- Comment #3 from Jilles Tjoelker <jilles at FreeBSD.org> ---
I think you are right; the formulation "Each variable assignment shall be
expanded prior to assigning the value" is not compatible with our behaviour to
expand everything before assigning anything.
On the other hand, a=$b b=$a U where U is not empty and neither a special
builtin nor a function can still place swapped values in the utility
environment (although it is not required to).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list