Op 21-03-17 om 16:38 schreef Stephane Chazelas:
> IOW, the work around I was mentioning earlier (of using "local"
> before "unset" to make sure "unset" unsets) doesn't work in that
> case. You'd need to use the same work around as for mksh/yash
> (call unset in a loop until the variable is really u
> The effect of unset on a local was what I had in mind, but really the
> manual says very little about scope. All it says right now is:
>
> "Variables local to the function may be declared with the local builtin
> command. Ordinarily, variables and their values are shared between the
> function
On 3/21/17 3:19 AM, Dan Douglas wrote:
> Also not documented is how a variable declared with declare/typeset is
> distinct from an unset variable.
I don't know, I think this is pretty clear:
"A parameter is set if it has been assigned a value."
The previous paragraph discusses attributes. The