Hello James and Ralph, Ralph Corderoy <ra...@inputplus.co.uk> 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.