I want to "encrypt" a .txt by replacing each letter with the letter six positions later. What I have right now is:
tr [:alpha:] ??? < myfile.txt
But I don't know what to put in ??? ...
Any help is appreciated, thanks.
I want to "encrypt" a .txt by replacing each letter with the letter six positions later. What I have right now is:
tr [:alpha:] ??? < myfile.txt
But I don't know what to put in ??? ...
Any help is appreciated, thanks.
Try
tr '[a-z]' '[f-za-e]'
There's an explanation from the inverse question at How does tr '[a-z]' '[n-za-m]' work?