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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.