[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of out
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values. |
Date: |
Sun, 4 Dec 2022 13:24:31 -0500 (EST) |
Follow-up Comment #4, bug #63462 (project octave):
After recompilation of the default branch, there is still the same issue:
[a,b,c,d,cnt, err]=sscanf("1 abcdefg 3\n","%d %s %g %g","C")
a = 1
b = abcdefg
c = 3
d = 3
cnt = 4
err =
octave:10> version -hgid
ans = b69d89906ae9
However, if I use %d instead of %g, the output is correct.
[a,b,c,d,cnt, err]=sscanf("1 abcdefg 3\n","%d %s %d %d","C")
a = 1
b = abcdefg
c = 3
d = [](0x0)
cnt = 3
err = %s: read error: sscanf
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63462>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/03
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Rik, 2022/12/03
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values.,
anonymous <=
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Rik, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., Dmitri A. Sergatskov, 2022/12/04
- [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values., anonymous, 2022/12/05