which errors out with: sed -e expression #1, char 27: unterminated `s'
command
I've googled and found out it has to do with bash and the quotes. Doing
the same command at the command prompt, but without placing quotes
around the expression, gives me the same error. But
sedrules="'s/foobar//p'" doesn't work either. It gives me a sed error of
unknown command
Anybody come across this before and have any suggestions? Google pointed
me in the right direction, but with no solutions.