UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: .tmChapter 12
Nroff and Troff
Next: Reference: .uf
 

.tr

.tr ab

Translate character a (first of a pair) to b (second of pair).

Example

Produce uppercase, and later restore. Useful for title macros:

.tr aAbBcCdDeEfFgGhHiIjJkKlLmM     Et cetera
.tr aabbccddeeffgghhiijjkkllmm     Et cetera


Previous: Reference: .tmUNIX in a Nutshell: System V EditionNext: Reference: .uf
Reference: .tmBook IndexReference: .uf

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System