Hello Christofer C., On Thu, 20 Apr 2006 10:12:19 -0500 "Christofer C. Bell" <christofer.c.bell@xxxxxxxxx> wrote: > On 4/20/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > > Christofer C. Bell wrote: > > > > > > You don't need to escape anything, just use a different limiter: > > > > > > $ echo "/Linux/update" | sed 's:/:V:g' > > > > The replacement text wasn't "V", it was "\/", which *does* need escaping. > > Ah, ok. Well, in that case it's still easier to just use a different > delimiter to avoid confusion: ;-) > > $ echo "/Linux/update" | sed 's:/:\\/:g' Eheh yes, that's why I provided both examples (and I even remember of a complex sed expression in which it has been difficult to find an available delimiter, but that's marginal). Regards, -- wwp
Attachment:
signature.asc
Description: PGP signature