[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much |
Date: |
Fri, 1 Mar 2024 13:09:49 -0500 (EST) |
Follow-up Comment #3, bug#65390 (group octave):
The same with "sscanf":
octave:1> s1 = sprintf("1 2")
s1 = 1 2
octave:2> a1 = sscanf(s1, '%f %f')
a1 =
1
2
octave:3> s2 = sprintf("1 2\n")
s2 = 1 2
octave:4> a2 = sscanf(s2, '%f %f')
a2 =
1
2
2
So "\n" seems to break the "Xscanf"
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65390>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, A.R. Burgers, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Dmitri A. Sergatskov, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Dmitri A. Sergatskov, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Dmitri A. Sergatskov, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Rik, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, John W. Eaton, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Dmitri A. Sergatskov, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Hendrik K, 2024/03/01
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Rik, 2024/03/02
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Rik, 2024/03/02
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Dmitri A. Sergatskov, 2024/03/02
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Rik, 2024/03/02
- [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much, Rik, 2024/03/02