Is there a way to use apostrophes
' with the sed command?
I mean this: -
sed '-2 a\\ What's up?' text
I am talking about the apostrophe in "What's up". If I do it like this it gives me an error "Unmatched"
I tried to escape that apostrophe with
\\ like this
What\'s up?, but it doesn't work.