[Bug 257702] /bin/sh: different behavior when chaining variable assignments

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Aug 2021 20:33:55 +0000

Jilles Tjoelker <jilles_at_FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |jilles_at_FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles_at_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.
Received on Sat Aug 21 2021 - 20:33:55 UTC

Original text of this message