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

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

[Octave-bug-tracker] [bug #47553] textscan Whitespace characters differe


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47553] textscan Whitespace characters different from Matlab
Date: Fri, 08 Apr 2016 06:07:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #7, bug #47553 (project octave):

Rik, Philip's comment reminded me why the Octave documentation disagrees with
Matlab's: Matlab's was unclear to me, and I describes the best that I could
reverse-engineer from Matlab's actual behaviour.


Philip, thanks for those test cases.  I'll look into them, and (maybe) fix
them and/or add BIST cases.


You have demonstrated another non-textscan incompatibility.  On Linux at
least, Octave gives


>> str = ['1' char(8) '2' char(9) '3' char(10) '4' char(13) '5']
str = 2 3
5
>>
octave:2>


Note the absence of '4'.  Octave's GUI treats char(13) as a true carriage
return rather than Matlab's behaviour of treating it as NL+CR.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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