[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34558] strread does not honor \n as single-qu
From: |
Michael Goffioul |
Subject: |
[Octave-bug-tracker] [bug #34558] strread does not honor \n as single-quoted delimiter |
Date: |
Sat, 15 Oct 2011 11:20:36 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 |
URL:
<http://savannah.gnu.org/bugs/?34558>
Summary: strread does not honor \n as single-quoted delimiter
Project: GNU Octave
Submitted by: goffioul
Submitted on: Sat 15 Oct 2011 11:20:35 AM GMT
Category: Interpreter
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The function strread does not honor \n as a delimiter when it is
single-quoted.
octave-qt.exe:5> strread(sprintf('1\n2\n3'), '%d', 'delimiter', '\n')
ans = 123
While in Matlab, we see:
>> strread(sprintf('1\n2\n3'), '%d', 'delimiter', '\n')
ans =
1
2
3
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34558>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34558] strread does not honor \n as single-quoted delimiter,
Michael Goffioul <=