I have a very large tab delimited file, I would like to replace a single line in this file with another. As the line has >100 columns, a simple sed \'s/find/replace/\' is not de
With GNU sed:
Find line in file file.csv which contains find, append content (r) of file newline.txt and delete (d) line which contains find:
file.csv
find
r
newline.txt
d
sed -e '/find/{r newline.txt' -e 'd}' file.csv