Re: escape characters in sed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hans du Plooy escribió:
> Hi guys,
>
> 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/\\)/ /
>
> But it does nothing. Why? How do I do this?
Well, I think you're replacing `)' and not `('
Jose Luis.
- --
ghostbar on Linux/Debian 'sid' i686 - #382503
Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org
http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es
San Cristóbal, Venezuela. http://chaslug.org.ve
Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA B118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGRyepOKCtW8rKsRgRAp4zAKDONrTYYgU/7ZO+elcQWzukBLHviwCggxsS
uKsfS6DepSlsl4yikeUnmk8=
=vKDP
-----END PGP SIGNATURE-----
Reply to: