The character range arguments to 'tr' can get expanded by the shell.


The simple fix is to single-quote them.