Follow-up Comment #7, bug #65763 (group groff):
commit 4b0e0405dfec56879552ffae2488d9423566ad8d Author: G. Branden Robinson <[email protected]> Date: Wed May 7 10:52:44 2025 -0500 [mdoc]: Address Savannah #65763 (`\?` comparison). * tmac/doc.tmac (Bd): Fix code style nit. Perform "strict" string comparison when using formatted output comparison operator to peform matching on macro argument. See subsection/node "Operators in Conditionals" in groff's Texinfo manual. See <https://savannah.gnu.org/bugs/?65763>. groff.info: Surround the comparands with '\?' to avoid formatting them; this causes them to be compared character by character, as with string comparisons in other programming languages. .ie "\?|\?"\?\fR|\fP\?" true .el false => false Since GNU 'troff' reads comparands protected with '\?' in copy mode (*note Copy Mode::), they need not even be valid 'groff' syntax. The escape character is still lexically recognized, however, and consumes the next character. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65763> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature
