[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Groff conversion with 190 characters in each line
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Groff conversion with 190 characters in each line |
Date: |
Sat, 12 Jan 2013 18:29:52 +0000 |
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.
- [Groff] Groff conversion with 190 characters in each line, Elango, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Ralph Corderoy, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Tadziu Hoffmann, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Ralph Corderoy, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Elango, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Tadziu Hoffmann, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line,
Ralph Corderoy <=
- Re: [Groff] Groff conversion with 190 characters in each line, Tadziu Hoffmann, 2013/01/12
- Re: [Groff] Groff conversion with 190 characters in each line, Ralph Corderoy, 2013/01/13
- Re: [Groff] Groff conversion with 190 characters in each line, Tadziu Hoffmann, 2013/01/14
- Re: [Groff] Groff conversion with 190 characters in each line, Werner LEMBERG, 2013/01/15
- Re: [Groff] Groff conversion with 190 characters in each line, Denis M. Wilson, 2013/01/15
- Re: [Groff] Groff conversion with 190 characters in each line, Ralph Corderoy, 2013/01/15