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

Re: ZSH_XTRACE_FILE (instead of ZSH_XTRACEFD)



I don't think the shell shock analogy is accurate.  A valid use
case is `PS4=whatnot ZSH_XTRACE_FILE=/tmp/mylog zsh -x foo.zsh`
or similar.  The Src/init.c does a getsparam to detect the value
being something and then calls the setter through the usual
setsparam -> assignsparam chain for the effect of changing the
destination FILE* at shell start-up.  Maybe that could use a
comment.


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