On Sunday 11 November 2007 10:58, Chris Arnold wrote:
> There are a couple of reasons why this does not work. First and
> foremost: since your replacement text contains '/', you should use a
> text separator different from '/' like
> s#foo#bar#g
>
> If I remember correctly < and > are also special (have to look that
> up) and you should escape them: \< and \>.

No. They're special to the shell, but since you'll surely quote the 
entire sed argument holding the editing command, that's not an issue.

In fact, putting backslash before angle brackets gives them special 
meaning, namely word boundaries, left and right, for \< and \>, resp.


> ...


Randall Schulz
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to