I have a file and wanted to change any occurrences of hex 80 to hex 9f. The only way I can do this is if I specify the equivalent octal value 200 and 237, respectively. In other words, the following tr command works fine:
tr '\200' '\237' < file.in > file.out
Is there a way I can make the tr command work specifying the hex values (80 and 9f) instead?
Thank you for your help.
tr '\200' '\237' < file.in > file.out
Is there a way I can make the tr command work specifying the hex values (80 and 9f) instead?
Thank you for your help.