sprintf2
Eröffnet am: 2020-03-10 01:05
Letztes Update: 2020-03-10 01:58
Auswertung: | (Anonym) | Verantwortlicher: | (Keine) |
---|---|---|---|
Priorität: | 5 - Mittel | Meilenstein: | (Keine) |
Typ: | Fehler | Schweregrad: | 5 - Mittel |
Komponente: | Tera Term Macro | Status: | Offen |
Lösung | Keine |
Einzelheiten
The sprintf2 command, when duplicated arguments are used, is seen to occasionally use 1 instead of 0 for the first argument value. An example:
foo = 0 sprintf2 bar '00 %s 00 00 %s 00' foo foobar becomes '00 01 00 00 00 00'
Below a workaround. I've gone for Medium for Priority and Milestone as can be worked around as below.
foo = 0 foo2 = foo sprintf2 bar '00 %s 00 00 %s 00' foo foo2bar becomes '00 00 00 00 00 00'
Unknown, is whether the observed issue is more general. For example, affecting multiple arguments, with problem seen with first argument, or perhaps all bar last argument. And/or affecting different intended and/or seen values, as well as just respective 0 and 1. And perhaps affecting sprintf command too.
Kommentar
(匿名)への返信
Not reproduced.
Which version are you using?