denysdovhan / bash-handbook

:book: For those who wanna learn Bash
https://git.io/bash-handbook
5.72k stars 756 forks source link

xtrace print each command to `stderr` before executing it. #52

Closed denysdovhan closed 8 years ago

denysdovhan commented 8 years ago

I'm writing a learnyoubash workshopper. I've noticed interesting thing:

Actually, xtrace option prints commands to stderr, but not just to stdout.

@sumbach @bucaran @pmuellr what do you think?

sumbach commented 8 years ago

Nice catch @denysdovhan! I've updated README and attached it as a PR here.

denysdovhan commented 8 years ago

Cool! Thank you for fixing!