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

Re: xtrace scope



Clint Adams wrote:
> Would it be silly to add another option so XTRACE changes could be made
> global in sh/ksh emulation?

Keep in mind that xtrace changes can be local in ksh.

In ksh, there is a difference between defining a function using the
`function name {}' syntax and the `name() {}' syntax. With the former,
`set -x' and other things like typeset have local scope.

Oliver


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



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