Open adavies42 opened 2 weeks ago
I agree. This is because ksh takes the job command from the history file, and it simply takes the entire command line; it's not a bug so much as a design flaw. You also get nonsensical output if you invoke two background jobs on the same command line:
$ sleep 10 & sleep 10 &
[1] 31064
[2] 31065
$ jobs
[2] + Running sleep 10 & sleep 10 &
[1] - Running sleep 10 & sleep 10 &
I intend to fix this for the future 93u+m/1.1 release at some point by regenerating the job's shell code from the binary command tree instead. For the 1.0 series, we're just going to have to live with it I'm afraid.
wouldn't something like
be more useful?