Linux: tr command

Self-tutoring about Linux: the tutor mentions its neat tr command.

tr target replacement is one form of tr, with input being piped to it or redirected to it. For instance,

tr "8" "9" < infile.txt

will display the file infile.txt with every 8 replaced by a 9. However, infile.txt isn’t changed.

Source:

tecmint.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply