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

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

[Octave-bug-tracker] [bug #47539] textscan misinterprets escape sequence


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #47539] textscan misinterprets escape sequences in single quoted strings
Date: Mon, 28 Mar 2016 16:27:48 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #8, bug #47539 (project octave):

Thanks, the two patches fix the bug for me.

(while *buffer = ' ' did not help on my system)

Note that the file I submitted ends with a 1Ah (Ctrl-Z) as EOF marker. The old
textscan from 4.0 also returns it as the final element of f, so it is not a
new bug. I am not sure what the "correct" behavior would be. Probably a
trailing EOF should indeed be ignored by textscan. How does MATLAB behave? 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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