local variables in bash

Merrill Oveson moveson at gmail.com
Fri Feb 13 10:06:25 MST 2009

My original question was:

Would doing this in the C shell solve this problem?

If so, and forgive my ignorance, does the C shell have all the usual easy to
do: mkdir, mv, awk, sed, etc - capabilities?

On Fri, Feb 13, 2009 at 9:35 AM, Stuart Jansen <sjansen at buscaluz.org> wrote:

> 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
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */

More information about the PLUG mailing list