xmlstarlet update an attribute

后端 未结 2 1183
傲寒
傲寒 2021-01-20 06:31

I\'m working on a script which deals with an xml file. I\'d like to update an attribute value in this xml file with xmlstarlet but it doesn\'t work.

Here is a sample

2条回答
  •  萌比男神i
    2021-01-20 06:45

    The proper way (will update settings on the fly)

    xfconf-query -c xfce4-keyboard-shortcuts -p /commands/default/XF86Display -s 'test'
    

提交回复
热议问题