MultiReplace is a plugin for Notepad++ enabling multi-string replacement, allowing list saving and loading. It provides CSV syntax highlighting and enabling precise column targeting. Additionally, it introduces conditional and computational operations within the replacement string.
Solution (tested and working!) https://unix.stackexchange.com/questions/91630/sed-unknown-option-to-s
I have replaced the delimiter in template to pipe: example: if [[ "$matchCase" -eq 1 ]]; then
template='s|'${findString}'|'${replaceString}'|g'
else
template='s|'${findString}'|'${replaceString}'|gi'
Tested under Windows MingGW64 (comes with Git)
Error: sed: -e expression #1, char 13: unknown option to `s'
Solution (tested and working!) https://unix.stackexchange.com/questions/91630/sed-unknown-option-to-s I have replaced the delimiter in template to pipe: example: if [[ "$matchCase" -eq 1 ]]; then template='s|'${findString}'|'${replaceString}'|g' else template='s|'${findString}'|'${replaceString}'|gi'