shell更改xml中的指定值

sed -i 's;<id>.*</id>;<id>新内容</id>;g'  your.xml

原文地址:https://www.cnblogs.com/to-here/p/12088372.html