On Tue, Mar 03, 2020 at 08:02:06AM +1100, G. Branden Robinson wrote:
> At 2020-03-02T11:24:03-0500, Doug McIlroy wrote:
> > Why does this input echo "\w'0'"
> > .tm \w'0'
> > while this input echoes "5000"?
> > .nr w \w'0'
> > .tm \nw
i don't know if it helps but trying it with the 9base troff
At 2020-03-02T11:24:03-0500, Doug McIlroy wrote:
> Why does this input echo "\w'0'"
> .tm \w'0'
> while this input echoes "5000"?
> .nr w \w'0'
> .tm \nw
On my system, it's consistent with (an unpatched) Heirloon troff and
therefore, possibly, with classical troff:
$ ./heirloom/bin/troff -V
Heirl
> Why does this input echo "\w'0'"
> .tm \w'0'
> while this input echoes "5000"?
> .nr w \w'0'
> .tm \nw
>From the info file:
-- Request: .tm string
Send STRING to the standard error output; this is
very useful for printing debugging messages among
other things. STRING is read
Why does this input echo "\w'0'"
.tm \w'0'
while this input echoes "5000"?
.nr w \w'0'
.tm \nw
Doug