|
From: | Dan Sebald |
Subject: | [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows |
Date: | Thu, 6 Sep 2018 17:38:49 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #29, bug #54622 (project octave): OK, so maybe it is that on Windows the <CR> alone is left uninterpreted, and only when it is <CR><LF> is it considered "\n". ostrsplit accepts multiple delimiters. Could it be changed to file_content = ostrsplit (fileread (fname), "\n\r"); or might that affect compatibility? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54622> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |