typeset does not make variable local in function

2007-06-06 Thread Clay Harris
Problem: typeset, when used in a function should always mark the variable as local. When bash is in ksh mode, it fails to do this. Previous versions did not have this problem, e.g. GNU bash, version 3.00.15(1)-release (i386-redhat-linux-gnu) Recent versions of ksh seem to be exhibiting the same b

Re: typeset does not make variable local in function

2007-06-06 Thread Clay Harris
I traced the problem down to the ksh that comes packaged with fedora core. bash is Fine. ksh is broken. On Wed, 6 Jun 2007 23:01 -0400, Chet Ramey quoth thus: > Clay Harris wrote: > > Problem: > > > > typeset, when used in a function should always mark the variable as lo