Being in mind that there are more than ten letters you can't use really tr for this idea because tr only changes a char by another
What I want to say is that you can't use tr to change i.e "f" by "23"
Although nothing is wrong with tr, if your problem is more complex that the example that you provide you probably should think in a hash for this
In reply to Re: Translating letters
by pvaldes
in thread Translating letters
by DaveMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |