[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] [UTROFF] references, summary, index
From: |
Ralph Corderoy |
Subject: |
Re: [groff] [UTROFF] references, summary, index |
Date: |
Wed, 06 Dec 2017 14:49:21 +0000 |
Hi James,
> > 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
$
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy