[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: escape characters in sed



Mathias Brodala wrote:
Hi Hans.

Hans du Plooy, 13.05.2007 16:51:
I'm trying to do a search/replace on some text.  Looks like this:

1.2.3.4(1.2.3.4)

To my mind, this should replace the '(' with a space

sed 's/\\)/ /

No, just type the parenthesis, no escaping necessary.

Thanks Mathias - guess I was trying to be too smart :-)

Hans



Reply to: