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 local. > > When bash is in

Re: typeset does not make variable local in function

2007-06-06 Thread Chet Ramey
Clay Harris wrote: > 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. I can't reproduce this with bash-3.0, bash-3.1, or bash-3.2 (all patched) on MacOS X and FC6. Bash does not have a `ksh mode'. Chet --