I want to substitute every occurance of "( S" to "(S" in my file (the quotes aren't included in my file. Its just there to specify what my pattern is)
This is my attempt to do it and the error message I get.
Code:
denish@ubuntu:~/Desktop/tgrep files$ sed 's/^\( \(S$/\(S/g' test > test2
sed: -e expression #1, char 16: Unmatched ( or \(
The "\( \)" has a different purpose in sed. So how exactly do I specify a ( in sed as a pattern and not as the special function?