daddel80 / notepadpp-multireplace

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.
GNU General Public License v2.0
20 stars 7 forks source link

"export to Bash" #28

Closed RWolfer closed 1 year ago

RWolfer commented 1 year ago

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'

daddel80 commented 1 year ago

Thanks, i will put fix into the next release.

daddel80 commented 1 year ago

version 1.0.3.4