bash script to edit xml file

前端 未结 4 1976
再見小時候
再見小時候 2021-02-06 00:53

I want to edit the config file of a program that is an XML:


   
       ...
       

        
4条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 01:23

    Most people would probably use sed to do line editing from a bash script. If you actually care about parsing the XML, then use something like Perl which has a ready XML parser.

提交回复
热议问题