sed matching an apostrophe
Hi there,
I'd like to figure out to get sed to match an apostrophe.
I am trying the following which does'nt match.
It's my understanding the 048 is the ascii code for an apostrophe but this may be wrong.
~> echo "abc'" | sed 's/'`echo "\048"`'/xyz/g'
abc'
Would appreciate some tips. I took a look in the sed faq and some others places and I can't find the answer.
Thanks.
|