[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51231] textscan skips line ending
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #51231] textscan skips line ending |
Date: |
Mon, 26 Jun 2017 17:08:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 |
Update of bug #51231 (project octave):
Item Group: None => Matlab Compatibility
Status: Need Info => Confirmed
_______________________________________________________
Follow-up Comment #4:
So "help textscan" says:
_N
Read until the first of two conditions occurs:
1) the format has been processed N times, or
2) N lines of the input have been processed._
I am not sure if the second of those is Matlab compatible. Maybe that is a
relict from the time textscan was implemented as an .m file (but I even doubt
that, I think it is plain wrong).
In the mean time I've checked with Matlab and indeed that behaves differently
than Octave. Admittedly a bit of a surprise for me :-)
The issue may boil down to incorrect default whitespace and -delimiter
settings. There's another bug report that I suspect also relates to that.
Nowadays textscan is a binary function and my C++ proficiency is a bit lacking
- when textscan was an .m file I could do something about it.
Status -> Confirmed
Item group -> Matlab compatibility
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51231>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/