local variables in bash
levi at cold.org
Fri Feb 13 10:31:21 MST 2009
Levi Pearson <levi at cold.org> writes:
> Merrill Oveson <moveson at gmail.com> writes:
>> 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?
> No, it wouldn't solve the "problem", which exists in pretty much all the
> languages of the shell era. It would also give you even more problems,
> because csh is even more broken than other shells.
> If you want a modern scripting language, use a modern scripting
> language. Shells ain't it.
Actually, I take that back. A google search has told me that ksh93
specifies static scoping (see q28):
So, there you go, you just need a half-decent shell.
More information about the PLUG