Substitute "Some...\n...Thing" by the contents of file "new" in one or more input files

perl -i -p0e 's/Some.*?thing\n/`cat new`/se' input.txt ...



-i   to change input.txt directly
-p0  slurp input file file and print it in the end
s/regexp/.../s  in regexp . is .|\n 
s/.../exp/e  replace by eval(exp)
new -- a file containing the replacement text (This is completely...different text)
if useful you can expand the original text s/Some text\n...\n...thing\n/...


Replace multiline string in files
Pro players seem to have some sixth sense when counter-warding, but I always seem to fail. For observer wards, you can try the usual ward spots (runes/rosh/hills).... however, if your five-man push fails because the enemy saw you coming, there are a lot of possible ward spots you may have walked by. And how about countering sentry wards to protect a riki/gondar/brood?
