[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54661] textscan() continues from next line if
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter |
Date: |
Mon, 17 Sep 2018 15:54:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
Follow-up Comment #9, bug #54661 (project octave):
I just checked strread.m and it doesn't have this bug; it just needs the EOL
character specified through the (undocumented in strread.m) "endofline"
parameter.
textread.m sets it for strread.m (which happens to be textread's work horse)
and then strread.m does it right:
>> [a, b, c, d] = textread ("bug_example.txt", "%f %f %f %f", "delimiter",
",")
debug> dbcont
a =
1
5
9
13
b =
2
6
10
14
c =
3
7
NaN
15
d =
4
8
NaN
16
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54661>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, anonymous, 2018/09/13
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Philip Nienhuis, 2018/09/14
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/14
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/15
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/15
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/16
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Philip Nienhuis, 2018/09/16
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Philip Nienhuis, 2018/09/16
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/16
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #54661] textscan() continues from next line if line ends with delimiter, Dan Sebald, 2018/09/17