[bug #42675] [troff] \} treated as macro argument

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Update of bug #42675 (group groff):

                  Status:                    None => In Progress
             Assigned to:                    None => gbranden
         Planned Release:                    None => 1.25.0

    _______________________________________________________

Follow-up Comment #13:

With changes in the _groff_ 1.25 development cycle and the fix for bug #68430
in my working copy, this issue is resolved.


$ cat EXPERIMENTS/count-args.roff
.de CA
\\n(.$
..
.if n \{.CA\}
.if n \{.CA \}
.if n \{.CA foo\}
.if n \{.CA foo \}
.pl \n(nlu
$ solaris10 nroff EXPERIMENTS/count-args.roff | cat -s
0 0 1 1

$ heirloom nroff EXPERIMENTS/count-args.roff | cat -s
0 0 1 1

$ dwb nroff EXPERIMENTS/count-args.roff | cat -s
0 0 1 1

$ 9 nroff EXPERIMENTS/count-args.roff | cat -s
1 1 1 2

$ ~/groff-1.24.1/bin/nroff EXPERIMENTS/count-args.roff | cat -s
0 1 1 2
$ ~/groff-HEAD/bin/nroff EXPERIMENTS/count-args.roff | cat -s
0 0 1 1


As shown, Plan 9 troff is an outlier.  I have no plans to do anything about
that.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaiWitgAKCRCqLAuaBUf3
TgzxAPkB1emEg6+lLGDoJBhJIUrO9k3VThRKRVYviAWn4uCUtAEA1AA5Zw26EI75
nSNgvIfiBOhMAXIniGp+rLiJsBbceQs=
=2rt1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.