Sometime Today, USM Bish assembled some asciibets to say:

> The main problem in this case is the way sed treats the "/"
> char. This would need the \ character to precede. The foll-

No, that is not a problem.  sed doesn't treat / specially.  It treats
the pattern separator separately.  The pattern separator is the first
character after the s, and must be non alphanumeric.

eg:
s|he//o|wor/d|g    --> | is the separator and | needs to be escaped
                       within the pattern
s,he//o,wor/d,g    --> , is the separator

s/he\/\/o/wor\/d,g --> / is the separator.

Philip

-- 
Frohike: So, Mulder, where's your little partner?
Mulder: She wouldn't come. She's afraid of her love for you.

        "The X-Files: Blood"


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to