Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suppress tracing of "set +x"



Dominik Vogt schreef op 30-12-15 om 11:45:
> "set -x" is very handy when printing commands from buils scripts
> and such, but what really annoys me is that the final "set +x"
> that ends tracing is also printed.  Is there really no way to
> suppress tracing of this specific command?

{ set +x; } 2>/dev/null

Hope this helps,

- M.



Messages sorted by: Reverse Date, Date, Thread, Author