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

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

[Octave-bug-tracker] [bug #45808] fscanf odd behavior with newlines


From: Rik
Subject: [Octave-bug-tracker] [bug #45808] fscanf odd behavior with newlines
Date: Tue, 25 Aug 2015 04:04:29 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Update of bug #45808 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  There does seem to be an issue with newlines in the format string
and this was on a Linux platform.

Could you try the attached workaround?  It simply removes the newline from the
format string.  I believe both Matlab and Octave will reset their internal
positioning counter at the end of each line and this should work on both
platforms.

(file #34718)
    _______________________________________________________

Additional Item Attachment:

File name: fscanf_workaround.m            Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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