Login
From:
learnbyexample
(Uncensored)
subscribe
CLI tip 18: inserting file contents using GNU sed
https://learnbyexample.github.io/tips/cli-tip-18/
links
backlinks
Roast topics
Find topics
Find it!
The r command accepts a filename as argument and when the address is satisfied, entire contents of the given file is added after the matching line. This is a robust way to add multiline text literally.