Yang Zhang a écrit : > Why does assigning to multiple variables on the same line exhibit > sequential consistency normally but not for local variables?
You might be interested in another difference: g () { local x x=$(exit 3); echo $? local y=$(exit 3); echo $? } $ g 3 0 I now tend to prefer splitting the "local" declaration from the variable definition...