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

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

[Octave-bug-tracker] [bug #51231] textscan skips line ending


From: Rik
Subject: [Octave-bug-tracker] [bug #51231] textscan skips line ending
Date: Sun, 29 Mar 2020 16:11:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #51231 (project octave):

                 Release:                   4.2.1 => dev                    

    _______________________________________________________

Follow-up Comment #5:

Verified that Octave is still different from Matlab (3/29/2020).

For the example in comment #0, Matlab returns a 1x3 cell array


M = { {'11'}, {'12'}, {''} }


Octave returns


O = { {'11'}, {'12'}, {'21'} }


So Octave does cross the first line restriction (N = 1) in order to try and
satisfy the format "%s %s %s" which contains three fields.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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