给出两个参考
shell多行匹配如何实现https://blog.csdn.net/caolaosanahnu/article/details/8166260
sed跨行匹配替换https://blog.51cto.com/u_15057841/3507557