Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 20:33:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 257702] /bin/sh: different behavior when chaining variable assignments
Message-ID:  <bug-257702-99-cM6JyYZifM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257702-99@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257702-99-cM6JyYZifM>