gbranden pushed a commit to branch master
in repository groff.
commit 4fc693ec8fbd1a65f3fa2bf4bb5d5ec772fa8a89
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Nov 14 07:27:16 2025 -0600
ChangeLog: Fix erroneous claim.
Not sure how I got my wired crossed; that remark isn't true of any AT&T
troff I can test. When they hit the first tab character, they abort the
conditional expression and proceed with the branch. (Perhaps if a tab
character is 'false', the leading `!` in this exhibit makes the
expression 'true'.)
$ printf '.if !\tfoo\tfoo\t .tm true\n'
| DWBHOME=~/dwb ~/dwb/bin/nroff | cat -s
foo foo .tm
foo
$ printf '.if !\tfoo\tfoo\t .tm true\n' | 9 nroff | cat -s
foo foo .tm true
[Solaris 10]$ printf '.if !\tfoo\tfoo\t .tm true\n' | nroff | sed '/^$/d'
foo foo .tm true
---
ChangeLog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3d43dfbd3..41d28160c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -242,8 +242,8 @@
* src/roff/troff/input.cpp (token::is_usable_as_delimiter): Fix
spurious warning in category "delim" when using a tab character
- as an escape sequence as a delimiter. AT&T troff allows that,
- and so has GNU troff historically.
+ as an escape sequence as a delimiter. AT&T troff doesn't allow
+ that, but GNU troff has, historically.
Continues commit 39c1176bfa, 25 January. See Savannah #66686
and Savannah #66526.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit