# sed -i ‘2 r readfile.txt’ writefile.txtsed -i “/start/i $(cat read.txt)” write.xml 插入在start前sed -i “/start/r read.txt” write.xml插入在start后