Hi Tadziu,
> > He might benefit from a .eo before the text of his file to turn off
> > backslash as the escape character?
>
> Ugh. You're right. However, then the "\&" won't be understood anymore
> either.
I did realise that, then got distracted, did something else, and came
back to the email and was thinking about .cc and .c2. :-)
> I think it's easier just filtering the input text with sed and
> doubling all backslashes (you need to filter anyway to prepend "\&"
> to all lines).
I agree, filtering it all with sed is the way to go. But use \e rather
than \\?
sed 's/\\/&e/g; s/^/\\\&/'
Cheers, Ralph.