It looks like we might need two DEBUG options, one that executes before
the command gets run, and one after it completes.  DEBUG1 and DEBUG2?

Or is one enough?


David Powell wrote:
> David Korn wrote:
>  > cc:  Bernd.Schemmer at gmx.de David.Powell at sun.com
>  > Subject: Re: Re: [ksh93-integration-discuss] Differences between 
> ksh88 and ksh93
>  > --------
>  >
>  >>    DEBUG traps were previously defined to execute after each command.
>  >>
>  >>    In ksh93, they execute (and are defined to execute) before each
>  >>    command.
>  >
>  > Thanks I will add this to the list.
> 
>    How unfortunate.
> 
>    BTW, http://www.kornshell.com/doc/ksh93.html claims ksh93 still has
>    the old behavior:
> 
>      Improved debugging
> 
>      KSH-93 can generate line numbers on execution traces. Also, I/O
>      redirections are now traced. There is a DEBUG trap that gets
>      evaluated after each command so that errors can be localized.
> 
>    Dave

Reply via email to