Hello? I sent the message I'm replying to 5 days ago, and no one has replied.
Is there anyone on the list with commit access for bash?
The reason I don't just use trap DEBUG is that trap debug can be prohibitively verbose at times:
$ for i in $(seq 5); do echo $((i*3)); done
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
3
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
6
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
9
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
12
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
cmd started 2015 Thu Oct 29 07:14:50 AM PDT
15
dstromberg@benchbox:~ x86_64-pc-linux-gnu 28861 - above cmd done 2015 Thu Oct 29 07:14:50 AM PDT
$
It's also noisy for other one-liners that involve pipes, semicolons, and especially: the following CPU-busy loop is turned into an I/O heavy loop: