groff
[Top][All Lists]
Advanced

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

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


From: Pierre-Jean
Subject: [Groff] [Heirloom] bug in '.if' string comparison tests
Date: Wed, 03 Sep 2014 21:03:59 +0200
User-agent: Heirloom mailx 12.5 7/5/10

Hello Alls,

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've recently seen the usage of the ^G character as field
separator. That is a good idea, since it should avoid most
possible conflicts with user input. But does anyone know
what does this character means, and why does it seems to be
prefered to other control characters ?

Cheers,
Pierre-Jean.



reply via email to

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