Comment Comment by johnkeeping `local` is a bash-ism so it's best avoided in this context, and the command is running in its own shell anyway so the variables can't pollute anything else.The other comments are 100% correct. parent johnkeeping 11 years ago
The other comments are 100% correct.