[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Skipping comments in load files

From: Joe Koski
Subject: FW: Skipping comments in load files
Date: Wed, 06 Oct 2004 11:50:56 -0600
User-agent: Microsoft-Entourage/

on 10/5/04 11:21 PM, Dmitri A. Sergatskov at address@hidden wrote:

> Mike Miller wrote:
>> On Tue, 5 Oct 2004, Joe Koski wrote:
>>> I figured out my problem. The particular file that I picked to try as
>>> an example had a single space on the last "blank" line of the file.
> As I just wrote, the problem appears to be not with blank, tab or space, but
> with other non-printable characters. I used to get from people in the MacOS
> world
> all kind of weird-looking, non-ascii text files ("file" identified them
> as UTF-16 or even UTF-32). They had some non-printable characters (^F?)
> that I had to deal with. I wonder if Joe had one of those...
> At least I cannot reproduce the problem using all kind of combinations of
> linefeed, tab, space. I tried ^L, ^F, and ^Z and it brakes with any of them.
> Sincerely,
> Dmitri.

You are correct in that it could have been some other non-printing
character, and not a space or tab at the end of the file. All I know is that
when I moved down to the last line, I could move the cursor one character to
the right and then use the delete key to eliminate the blank character.

The file came from a Linux-based data acquisition system, then to a Windows
laptop, then to a G4 Mac, then via e-mail to my G5 Mac. Somewhere along the
line, the file was changed to Mac line feeds (probably by e-mail), so I had
to reconvert to Unix line feeds to use the file with octave. Any of those
changes could have corrupted the file.

Thanks for the help.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]