Eric Blake wrote: ... > Tom, since the reexec lost all tracing, what about: > > zsh -vx ./test-vc-list-files-cvs.sh > > Jim, I'm wondering if init.sh should propagate v and/or x as part of > the re-exec (certainly it would make it easier to get a full trace): > > opts= > case $- in > *v*) opts=v ;; > esac > case $- in > *x*) opts=x$opts ;; > esac > > "$re_shell_" -c$opts "$gl_shell_test_script_" 2>/dev/null > > exec "$re_shell_" ${opts:+-$opts} "$0" --no-reexec "$@"
Good idea. I think that would have helped me once or twice, too. Please do.