Created
February 20, 2014 23:22
-
-
Save uttamg911/9125443 to your computer and use it in GitHub Desktop.
This unix script translates the letters of a word to numbers a-z or A-Z to 1-26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tr 'A-Z' 'a-z'| tr 'abcdefghi' '123456789' | tr 'j' '10' | tr 'k' '11' | tr 'l' '12' | tr 'm' '13' | tr 'n' '14' | tr 'o' '15' | tr 'p' '16' | tr 'q' '17' | tr 'r' '18' | tr 's' '19' | tr 't' '20' | tr 'u' '21' | tr 'v' '22' | tr 'w' '23' | tr 'x' '24' | tr 'y' '25' | tr 'z' '26' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment