Bug#692611: Bug #692611: dash: Using subshell in PS4 variable causes fork bomb

2015-12-02 Thread Gioele Barabucci
Control: tags -1 upstream Control: forwarded -1 http://thread.gmane.org/gmane.comp.shells.dash/1067 This bug has already been reported to the dash mailing list [1] and the behaviour of shell expansions in PS1/2/4 lightly discussed in the POSIX mailing list [2]. [1]

Bug#692611: dash: Using subshell in PS4 variable causes fork bomb

2012-11-07 Thread Lukas Anzinger
Package: dash Version: 0.5.7-3 Severity: normal Dear Maintainer, to have a timestamp in front of every command that is executed, I tried to set the variable PS4 to '$(date)'. #!/bin/sh set -x export PS4='$(date)' /bin/true This works with bash and results in the following output: %