octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52892] textread incorrectly reads a text file


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #52892] textread incorrectly reads a text file when empty lines are present
Date: Mon, 15 Jan 2018 09:25:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #3, bug #52892 (project octave):

BTW @Pedro:
Please be aware that textread (and strread) also has an "endofline" parameter.
EOLs are implicitly added to the delimiter collection rather than to the
whitespace collection. So empty lines will "break" the flow and make the
process of reading the file getting out of sync with the format string.

It would be better if textscan got fixed, your other bug report (bug #52867)
looks like a real bug to me, still in Octave dev version. But fixing textscan
is a bit beyond me (I'm only a little familiar with C++)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52892>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]