"octave -q script.m > a_file" creates an extra character

Alexandros Droseltis ml-octave at alex-droseltis.com
Sat Jul 11 08:25:25 CDT 2009


Hello!

[Using octave 3.0.0 on linux]

I have the following problem. Consider the file script.m with the
content:

#################
1;

printf("A line");
#################

After typing

	octave -q script.m > a_file

in the command line and viewing the file "a_file" _with an editor_, a
strange string appears at the beginning of the file:

^[[?1034hA line

Why does this happen and how could I get rid of this? I would be
grateful for any help.

Best Regards

Alexandros


More information about the Help-octave mailing list