You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: