Anthony Rumble <[EMAIL PROTECTED]> wrote:

> s/\$ord\{/\$ord\-\>\{/g

> Why doesn't that work?

Depending on which tool you're using, escaping things like { might actually
make them special, i.e., non-literal.  Also, generally you don't need to
escape things in the replacement string.

So try

s/\$ord{/$ord->{/g
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to