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

Reply via email to