UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: qChapter 10
The sed Editor
Next: Reference: s
 

r

[address]r file

Read contents of file and append after the contents of the pattern space. There must be exactly one space between the r and the filename.

Example

/The list of items follows:/r item_file


Previous: Reference: qUNIX in a Nutshell: System V EditionNext: Reference: s
Reference: qBook IndexReference: s

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