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

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

[Octave-bug-tracker] [bug #50619] textscan weird behaviour when reading


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #50619] textscan weird behaviour when reading a csv
Date: Sat, 25 Mar 2017 19:27:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Follow-up Comment #14, bug #50619 (project octave):

Good detective work, Dan. Obviously it looked like some buffer size issue but
which buffer and where it is to be found ...

Answer to comment #11 Q1:
< "endofline", "" > is perfectly legal syntax and can be useful when reading
from strings (i.e., not a text file, or a file not standard organized along
lines like e.g., XML or html)

AFAIU from my textscan.m/strread.m work from years gone by, endofline is
whitespace but whitespace *is* a default delimiter unless "%s" (character
string) format specifiers come into play, in which case endofline is moved to
the delimiter collection. Or something like that ... the (=TMW's) logic is
almost untractable.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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