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] http://thread.gmane.org/gmane.c
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:
% b
2 matches
Mail list logo