Name
r
Synopsis
[address
]rfile
[address1
[,address2
]]rfile
{G}
Read contents of file and append to the
output after the contents of the pattern space. There must be
exactly one space between the r
and the filename. The GNU version accepts two addresses.
Example
/The list of items follows:/r item_file
Get Unix in a Nutshell, 4th Edition 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.