Update of bug #68029 (group groff):
Item Group: Warning/Suspicious behaviour => Documentation
Summary: [troff] want warning in "syntax" category when `==`
operator used => [troff] de-document `==` numeric expression operator as a GNU
troff extension
_______________________________________________________
Follow-up Comment #3:
It ain't.
It goes all the way back to Ossanna _troff_.
$ pdp11 ./v7.simh
PDP-11 simulator V3.8-1
Disabling XQ
@boot
New Boot, known devices are hp ht rk rl rp tm vt
: rl(0,0)rl2unix
mem = 177856
# Restricted rights: Use, duplication, or disclosure
is subject to restrictions stated in your contract with
Western Electric Company, Inc.
Thu Sep 22 23:59:02 EDT 1988
login: dmr
$ nroff
.nr a 1
.if 2==2 .nr a 2
.tm \na
2
$
And even in the (quasi-)modern world...
$ printf '.nr a 1\n.if 2==2 .nr a 2\n.tm \\na\n' | dwb troff >/dev/null
2
$ printf '.nr a 1\n.if 2==2 .nr a 2\n.tm \\na\n' | 9 troff >/dev/null
2
So, re-targeting this ticket to correct our erroneous documentation, which has
been making a false claim for a long time.
I have no appetite to withdraw support for `==`. It was a bad idea, but
there's no purer syntax to return to.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68029>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
