2010-04-08 09:17:37 +0100, Geoff Clare: > Johannes Sixt <j...@kdbg.org> wrote, on 07 Apr 2010: > > > > The next question is then, what shall happen when there is no temporary > > execution environment, i.e., what is the expected output of > > > > X=a Y=b; X=$Y Y=$X; echo $X $Y > > That's a much simpler case, as there is only one shell environment > to consider. The standard requires the assignments to be done in > order, and each assignment to be expanded prior to assigning the > value, so the output should be "b b". [...]
It might be a good time to reopen http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334182 IIRC, the dash maintainer had said at the time he wouldn't change the behavior on ground that POSIX wasn't clear about that. For Gerrit and Herbert, this Austin group discussion can be followed at: http://www.wbemsource.com/show_archive.tpl?source=L&listname=austin-group-l&first=1&pagesize=80&searchstring=assignment+with+command&zone=G (doesn't anybody know of a better web interface to the autin-group-l mailing list BTW?). Cheers, Stephane -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org