4 ms·
Please no. The parallel universe Me where I didn't happen to read this random thread would never know, consequently never expect random variables to do that. An
by nothrabannosir 8y ago
Please no. The parallel universe Me where I didn't happen to read this random thread would never know, consequently never expect random variables to do that. And curse you forever if I found out while banging my head debugging some buggy script.
- IshKebab 8y agoYeah what's wrong with functions? Clearly the Bash developers are continuing their tradition of obeying the principle of most surprise.
- john-aj 8y agoJudging from this thread, Bash doesn’t seem to be the only shell to support these types of variables, but I agree – it’s unintuitive and surprising.