problem in reading text files
Dmitri A. Sergatskov
dasergatskov at gmail.com
Thu Sep 4 20:44:28 CDT 2008
On Thu, Sep 4, 2008 at 5:15 PM, Yaping Zhou <yaping at us.ibm.com> wrote:
> Hi All:
>
> I have been having problems with loading text files in Octave versions later
> than 2.1.50.
>
> Attached are two text files that are formatted the same. I tried to load
> them in version 3.0.1 running on XP. One works but the other doesn't. If I
> open the NotOk.txt file, add or delete some white spaces and save it, for a
> unknown reason, sometimes the file becomes loadable.
>
> Somehow version 2.1.50 has been very robust for me in terms of loading text
> file.
>
> Can you please confirm the problem I saw and help. Thanks.
>
> Regards,
> Yaping Zhou
>
> (See attached file: OK.txt)(See attached file: NotOK.txt)
I cannot load any of these unmodified, but can load both if I strip '\r'
(Carrige Return) character from the end of the lines.
The format of the files look somewhat different from what I get with
octave 3.0.2. I do not know if that matters or not.
2.1.50 is really ancient version so many things have changed...
Sincerely,
Dmitri.
--
More information about the Bug-octave
mailing list