On Thu 2020-05-07 10:31:38 +0300, Tomi Ollila wrote:
> Good stuff
>
> robustness comment IMO:
>
> There is slight difference when writing
>
> local foo=`false`
>
> and
>
> local foo; foo=`false`
>
>
> former does not "fail"; latter does,
thanks for pointing this out. On IRC, jindraj pointed me to
http://tldp.org/LDP/abs/html/localvar.html this is an unusual and
confusing set of behaviors i had not understood about how local
interacts with return codes, etc.
I'll send around a revised set of patches that uses "local foo" instead
of "local foo=".
--dkg