bistromathic: beware of portability issues with readline
commit4b802d64171203642c1c0b148ff8ace8fdaeb1f5
authorAkim Demaille <akim.demaille@gmail.com>
Tue, 3 Aug 2021 05:33:33 +0000 (3 07:33 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Sun, 8 Aug 2021 06:08:04 +0000 (8 08:08 +0200)
treebafe6fa256f5b47babc7c9ce0b728995181c1f59
parent7f1e9249d05c779b821a2e8ec4d97f89782d09f5
bistromathic: beware of portability issues with readline

In some cases readline emits a trailing spaces after the last
suggestion, which results in errors such as:

```
-(       -       atan    cos     exp     ln      number  sin     sqrt$
+(       -       atan    cos     exp     ln      number  sin     sqrt    $
```

Reported by Christopher Nielsen <mascguy@github.com>.
<https://trac.macports.org/ticket/59927#comment:48>
<https://trac.macports.org/attachment/ticket/59927/bison-3.7.6-test-10.13.test-suite.log>

* examples/test (run): Add support for -t.
* examples/c/bistromathic/bistromathic.test: Use it.
examples/c/bistromathic/bistromathic.test
examples/test