[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.
- [Groff] [Heirloom] bug in '.if' string comparison tests,
Pierre-Jean <=
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Tadziu Hoffmann, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Tadziu Hoffmann, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Carsten Kunze, 2014/09/03
- Re: [Groff] [Heirloom] bug in '.if' string comparison tests, Ralph Corderoy, 2014/09/04