[...]
> If your question is whether or not the call to `g' can result 
> in an unset
> variable error even though f has a local copy already 
> declared, the answer
> is no.  That is ksh93-style static scoping, and bash does not have it.
> 

Yes, that was my question. Thanks for the answer. I think that for developing 
scripts it would be helpful to have 'nounset' optionally react on locally unset 
variables, too.

Kind regards

Heiko

Reply via email to