[Bug 257702] /bin/sh: different behavior when chaining variable assignments
Date: Sat, 21 Aug 2021 20:33:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257702
Jilles Tjoelker <jilles@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jilles@FreeBSD.org
--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
If FreeBSD sh is the odd one out here, it may be good to change this (although
ports might contain stuff like a=$b b=$a to swap).
The exact rules about variable assignments in POSIX have changed via some
interpretations, so the existing behaviour might still be POSIXly correct.
--
You are receiving this mail because:
You are the assignee for the bug.