RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10k stars 1.38k forks source link

initfuncs: change `sed` separator for `iniGet` #3871

Closed cmitu closed 5 months ago

cmitu commented 5 months ago

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.