in reply to Re^2: Delete a line from the file
in thread Delete a line from the file

\' doesn't work in single-quoted literals in bourne shell.
$ echo 'foo\'bar' > <- waits for closing '

Fixes:

$ echo foo\'bar foo'bar $ echo "foo'bar" foo'bar $ echo 'foo'\''bar' foo'bar $ echo 'foo'"'"'bar' foo'bar