12.2. Conclusion

Tr is used mainly for character conversions, or stripping out control characters. All of the functions used in this chapter can be accomplished using sed, but some people prefer to use tr. Tr is quick and easy, and does the job.

Get Linux and Unix Shell Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.