Follow-up Comment #3, bug #68064 (group groff):

At 2026-02-20T22:09:37-0500, Dave wrote:
> Follow-up Comment #2, bug #68064 (group groff):
>
> While I also cannot reproduce this in 1.23, I can in 1.22.4, but only if the
> register is sent to stdout rather than stderr.
>
> $ groff --version | head -1
> GNU groff version 1.22.4
> $ printf '.sy /bin/false\n.tm \\n[systat]\n' | nroff -U | cat -s
> 256
> $ printf '.sy /bin/false\n\\n[systat]\n'     | nroff -U | cat -s
> 0
>
>
> In 1.23 I get the expected "256" in both cases.

That's kind of a head-scratcher.  I get "0" for _all_ groff versions
prior to HEAD.

$ printf '.sy /bin/false\n\\n[systat]\n'     | ~/groff-1.22.3/bin/nroff -U |
cat -s
0

$ printf '.sy /bin/false\n\\n[systat]\n'     | ~/groff-1.22.4/bin/nroff -U |
cat -s
0

$ printf '.sy /bin/false\n\\n[systat]\n'     | ~/groff-1.23.0/bin/nroff -U |
cat -s
0

$ printf '.sy /bin/false\n\\n[systat]\n'     | ~/groff-HEAD/bin/nroff -U | cat
-s
256



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68064>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to