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

Re: escape characters in sed



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.


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: