[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53914] textread incorrectly reads string
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #53914] textread incorrectly reads string |
Date: |
Tue, 15 May 2018 15:32:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<http://savannah.gnu.org/bugs/?53914>
Summary: textread incorrectly reads string
Project: GNU Octave
Submitted by: muhali
Submitted on: Tue 15 May 2018 12:32:43 PM PDT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.0
Operating System: GNU/Linux
_______________________________________________________
Details:
suppose the file foo.txt contains the single line
# #
When reading the file via
a = textread ("foo.txt", "%s", "delimiter", ",")
one gets, however,
a =
{
[1,1] = # #
}
which misses one space. When doing instead
a = textscan ("# #", "%s", "delimiter", ",")
one correctly gets
a =
{
[1,1] =
{
[1,1] = # #
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53914>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53914] textread incorrectly reads string,
Muhali <=