KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm getting a sed: -e expression #1, char 22: unterminated `s' command is there a problem on my script? Also the "oldstring" has special characters #!bin/bash oldstring='<script>"[oldscript]"</script>' newstring='<script>"[newscript]"</script>' grep -rl $oldstring /path/to/folder | xargs sed -i s/$oldstring/$newstring/g
Tags (comma-separated)
Save Edits
Cancel