Can't escape single quotes in shell
- by user13743
I'm trying to make a command to do a perl substitution on a batch of php files in a directory. The string I want to replace has single quotes in it, and I can't get it to properly escape the in shell.
I tried echoing the string with unescaped quotes, to see what perl would be getting:
echo…