This is a discussion on Re: ksh doesn't show trace in fuctions within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Thank you Thorsten! Functions can have two attributes, ``trace'' and ``export'', which can be set with typeset -ft and ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Thank you Thorsten! Functions can have two attributes, ``trace'' and ``export'', which can be set with typeset -ft and typeset -fx, respectively. When a traced func- tion is executed, the shell's xtrace option is turned on for the func- tion's duration; otherwise, the xtrace option is turned off. The ``export'' attribute of functions is currently not used. In the original Korn shell, exported functions are visible to shell scripts that are exe- cuted. # Han |