Perl code for Find and replace a tag value in XML

后端 未结 3 432

Below is the XML I will be using:

ABC

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-14 16:12

    perl -i.bak -pe 's/abc/def/g' myfile.xml

    you'll get a new file myfile.xml.bak which ha

提交回复
热议问题