groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] [Heirloom] bug in '.if' string comparison tests


From: Carsten Kunze
Subject: Re: [Groff] [Heirloom] bug in '.if' string comparison tests
Date: Wed, 3 Sep 2014 21:30:51 +0200 (CEST)

> I've found another bug in Heirloom troff (with ^G being the
> control character, "Ctrl+V + Ctrl+G" in vim):
>
> .do xflag 3
> .if "A"A" .tm A is like A
> .if  ^GB^GB^GB .tm B is like B
> .char " "\|
> .if "A"A" .tm A is like A
> .if ^GB^GB^GB .tm B is like B
>
> Output "A is like A" and "B is like B" only once.

I would say it has nothing to do with the .ifs.  Maybe the syntax of the .char 
line is not clean because of the escape character.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]