Package: bash Version: 4.3~rc1-1 Severity: normal Tags: upstream X-Debbugs-Cc: bash-...@gnu.org
A pipeline terminated by an ampersand causes the pipeline to be executed asynchronously. Understandably, this means variable assignments may not persist immediately. However, in my environment and others (hence the upstream tag), asynchronous variable assignment is in fact completely broken:
$ BAR=a echo $BAR & [1] 24144 chealer@vinci:/var/log/apt$ [1]+ Done BAR=a echo $BAR chealer@vinci:/var/log/apt$
--- System information. --- Architecture: i386 Kernel: Linux 3.11-2-amd64 Debian Release: jessie/sid 990 testing http.us.debian.org 500 unstable http.us.debian.org 1 experimental debian.mirror.iweb.ca --- Package information. --- Depends (Version) | Installed ===========================-+-============ base-files (>= 2.1.12) | 7.2 debianutils (>= 2.15) | 4.4 Recommends (Version) | Installed ===================================-+-================ bash-completion (>= 20060301-0) | 1:2.1-2 Suggests (Version) | Installed =======================-+-=========== bash-doc | -- Filipus Klutiero http://www.philippecloutier.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org