Bug#567648: dash: please document that set -x in a subshell can cause non-determinism

2019-12-25 Thread Vadim Zeitlin
Just FYI, there is a simple patch (mostly) fixing this problem now at https://salsa.debian.org/debian/dash/merge_requests/7 VZ pgpFP0sBO0bhM.pgp Description: PGP signature

Bug#567648: dash: please document that set -x in a subshell can cause non-determinism

2010-01-30 Thread Timo Juhani Lindfors
Package: dash Version: 0.5.5.1-3 Severity: wishlist Steps to reproduce: 1) cat testcase1.sh EOF #!/bin/sh ( set -x i=`echo f|cut -d' ' -f4|sort` ) 21 EOF 2) ensure that /bin/sh is dash 3) while true; do ./testcase1.sh a; grep cut a; done Expected results: 3) since echo, cut and sort are