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

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

[Octave-bug-tracker] [bug #42025] dlmread unable to recognize emptyvalue


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #42025] dlmread unable to recognize emptyvalues at start of line with whitespace separator
Date: Thu, 20 Oct 2016 10:07:27 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #10, bug #42025 (project octave):

(just a quick try)
With the imp3.txt and imp4.txt in this bug report, I get with 
2012a, 204a and 2016b:

>> format compact
>> dlmread ('imp3.txt', ' ')
ans =
     1    11     0
     0    22     0
     0     3    33
>> dlmread ('imp4.txt', ' ')
ans =
     0     0    22     0
     1    11     0     0
     0     0     3    33
     0     0     0     0  % apparently one space on L.4
>> dlmread ('imp3.txt')
ans =
     1    11
    22     0
     3    33
>> dlmread ('imp4.txt')
ans =
    22     0
     1    11
     3    33


Replacing CRLF with just LF makes no difference.
It could be that the imp3.txt I recently sent was different than the original
one that motivated this bug report. I'll look at that later.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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