RetroPie-Setup icon indicating copy to clipboard operation
RetroPie-Setup copied to clipboard

initfuncs: change `sed` separator for `iniGet`

Open cmitu opened this issue 1 year ago • 0 comments

Use # instead of / for SED's substitution command separator.

This makes the iniGet command work for key values containing / (like Dolphin's input configuration files). The # character is usually reserved for comment lines in an .ini file, so it should be relatively safe to use as separator; sed accepts any ccharacter besides * or newline for separator, so # should also be safe here.

cmitu avatar Feb 21 '24 04:02 cmitu