local variables in bash

Stuart Jansen sjansen at buscaluz.org
Fri Feb 13 09:35:09 MST 2009


On Fri, 2009-02-13 at 08:27 -0700, Jon Jensen wrote:
> The oldest version of bash I found is 1.14 from 1994, and it had local 
> too. There doesn't appear to be a public version control repository for 
> bash, oddly. Wikipedia claims bash was created in 1987, but I can't show 
> whether it had local then or not. Does anyone have any older versions 
> floating around?

I don't know when Bash added the "local" keyword, but Bash is largely
based on Ksh which uses "typeset" to create local variables.

-- 
When you tell me I should give proprietary software a fair technical
evaluation because its features are so nice, what you are actually doing
is saying "Look at the shine on those manacles!" to someone who
remembers feeling like a slave. -- Eric S. Raymond




More information about the PLUG mailing list