Anonymous
public text v1 · immutablefind='<option name="XDisplay/size" type="int" value="*"/>'
replace='<option name="XDisplay/size" type="int" value="1"/>'
sed -i -e "s,$find,$replace,g" /home/jelle/.config/xfce4/mcs_settings/display.xml
I want to replace the value that can be everything I would like to use some sort of wild card like *
But this those now work this way. How can I make sure that the the line will always be replaced correctly?