[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] [UTROFF] references, summary, index
From: |
Pierre-Jean |
Subject: |
Re: [groff] [UTROFF] references, summary, index |
Date: |
Wed, 06 Dec 2017 17:11:22 +0100 |
User-agent: |
mail v14.8.16 |
Hello James and Ralph,
Ralph Corderoy <address@hidden> wrote:
> > > It may be better to use `.write', if other troffs have that, rather
> > > than allow the local echo(1) to perhaps interpret sum-list's
> > > content?
> ...
> > sy printf '%s\n' '\\*[sum-list]' | sed -e "s/@@@/\\\\n./g"
> >
> > would eliminate that issue.
>
> But still leave open the original problem. :-)
>
> $ cat sy.tr
> .ds sum-list foo';'date
> .sy exec >&2; printf '%s\\n' '\*[sum-list]' | od -c
> $
> $ nroff -U <sy.tr
> foo
> 0000000 W e d 6 D e c 1 4 : 4 7
> 0000020 : 3 1 G M T 2 0 1 7 \n
> 0000035
> $
That's a bit annoying: I did not use .write because it is not
implemented in neatroff... But I'm underdestanding I should better use
it, and reserve the possible issue of .sy to neatroff only.
Thank you,
Pierre-Jean.