Follow-up Comment #4, bug #67408 (group groff): My used script was a mess.
New experiments. groff --version: GNU groff version 1.23.0 Copyright (C) 2022 Free Software Foundation, Inc. GNU groff comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of groff and its subprograms under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. called subprograms: GNU grops (groff) version 1.23.0 GNU troff (groff) version 1.23.0 -.- groff -C -ms -ww -b -z /dev/null groff ms macros do not work in compatibility mode; aborting -.- test-groff.master -C -ms -ww -b -z /dev/null troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':28 troff:/home/bg/git/groff/build/../tmac/s.tmac:28: warning: missing closing delimiter in output comparison operator; expected character '1', got a newline troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':31 troff:/home/bg/git/groff/build/../tmac/s.tmac:31: warning: missing closing delimiter in output comparison operator; expected character '1', got a newline troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':34 troff:/home/bg/git/groff/build/../tmac/s.tmac:34: warning: conditional operator 'r' used in compatibility mode troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':37 troff:/home/bg/git/groff/build/../tmac/s.tmac:37: warning: name 'ms' not defined troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':38 troff:/home/bg/git/groff/build/../tmac/s.tmac:38: warning: expected numeric expression, got character 'd' troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':39 troff:/home/bg/git/groff/build/../tmac/s.tmac:39: warning: expected numeric expression, got character 'd' troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':49 troff:/home/bg/git/groff/build/../tmac/s.tmac:49: warning: name '[' not defined troff: backtrace: file '/home/bg/git/groff/build/../tmac/s.tmac':142 troff:/home/bg/git/groff/build/../tmac/s.tmac:142: warning: register '[' not defined troff:/home/bg/git/groff/build/../tmac/s.tmac:44: error: end of file while defining macro '@d' -.- The culprit is the ".if !..." heirloom's nroff shows echo '.if !\n(.C .tm .C is not defined' | heirloom-nroff .C is not defined -.- These redefinitions of delimiters are against productivity, against evolution. They also reduce the freedom of choice. They also break the mission statement of groff. They should all be removed. GNU groff should not be made to be both old and new. [The Unix philosophy: "Small is beautiful", "Make each program do one thing well", and so on] The compatibility mode is abused. It was introduced, when new requests were introduced with longer names than two characters. Old troff allowed skipping a space between a request and its argument. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67408> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature