Felix Schulte wrote: > On 4/25/07, paul.guo <Paul.Guo at sun.com> wrote: > > I have two questions about ksh, and since I am not in the alias, please > > add my > > email address when replying. > > > > 1. I am using ksh88, and found 'set -x' and 'set -v' do not work on > > sub-functions. > > Is ksh93 still like that ? Why don't allow these options in > > sub-functions? > > > > 2. If you write scripts in shell languages, you must be very careful to > > prevent > > the typo. shell almost does not provide any options to prevent typo. > ksh93 has a script compiler which compiles shell scripts into a binary > and does some error checking during the compilation
I am not sure but AFAIK "shcomp" only does basic syntax checking and not what Paul was looking for... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)