[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: typeset does not make variable local in function
From: |
Chet Ramey |
Subject: |
Re: typeset does not make variable local in function |
Date: |
Wed, 06 Jun 2007 23:01:06 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (Macintosh/20070326) |
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
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/