Please sign in to comment.
Use `printf %q' instead of `set -x': debug_run()
`set -x' + setting PS4 was really hackish. `printf %q' should guarantee the printed command line is properly quoted, and is equivalent to the command line that's actually run. Also, the (( verbosity ... )) tests are now only done inside functions. Also, the _msg() function is changed again to take the same approach as the new _quote_cmd_line() function does.
- Loading branch information...