If you don't want to bother with compiling source code: Bell NIX exec tr "[a-z][A-Z]" "[n-z][a-m][N-Z][A-M]" Berkeley NIX exec tr a-zA-Z n-za-mN-ZA-M