shell更改xml中的指定值

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

posted on 2019-12-23 21:02  该用户很懒  阅读(419)  评论(0编辑  收藏  举报