home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


y

[address1 [, address2 ]]y/ abc / xyz /

Translate characters. Change every instance of a to x , b to y , c to z , etc.

Example

# Change item 1, 2, 3 to Item A, B, C ...
/^item [1-9]/y/i123456789/IABCDEFGHI/


Previous: Reference: x UNIX in a Nutshell: System V Edition Next: 10. The sed Editor
Reference: x Book Index 10. The sed Editor

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