Greg Wooledge <wool...@eeg.ccf.org> writes:
> Perl is a programming language.  It makes sense that perl would evolve
> in a way that makes it more useful for writing programs.
>
> Bash, on the other hand, is first and foremost a *shell*.  It's designed
> to act as an interface for executing commands, either interactively, or
> in a script.  Its use as a programming language is a distant second goal.

Oh, yeah, I don't think it would be at all worth the trouble to
implement lexical scoping in bash.  My point was, that if you *don't*
implement lexical scoping, you're pretty much guaranteed to get the sort
of conflicts between purposes that the original message points out.  And
it seems that the best choice in that conflict is the current behavior.

Dale

Reply via email to