I want to insert a range of lines from a file, say something like 210,221r
before the first occurrence of a pattern in a bunch of other files.
As I am clearly not a GNU sed expert, I cannot figure how to do this.
I tried
sed '0,/pattern/{210,221r file
}' bunch_of_files
But apparently file
is read from line 210 to EOF.