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

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

[Octave-bug-tracker] [bug #54622] test importdata fails in dev octave wi


From: Rik
Subject: [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows
Date: Thu, 6 Sep 2018 17:14:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #27, bug #54622 (project octave):

This is almost surely in the post-processing.  I just tested on Windows and I
get to this code


    text = text(! strcmpi (text, "NA"));  #  Remove valid "NA" entries
      if (! isempty (text))
        output.textdata = [output.textdata; text(:)];
      endif


The contents of text at this point are "NA\r".  On Linux, they would be just
"NA".  The issue is that strcmpi doesn't pass because of the extra \r.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54622>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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