perl -i.bak -e 'undef $/; $_=<>; s/oldline1\noldline2/NEW/g; print' files ..
[perl] 一句命令进行跨行匹配替换
猜你喜欢
转载自blog.csdn.net/lieberstraum/article/details/51830331
今日推荐
周排行