help-octave
[Top][All Lists]
Advanced

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

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


From: etienne
Subject: Re: "octave -q script.m > a_file" creates an extra character
Date: Sat, 11 Jul 2009 16:28:11 -0700
User-agent: Internet Messaging Program (IMP) H3 (4.3)


  Hi All,

not reproducible for me (Octave 3.0.3, Linux 2.6.18 CentOS) :

address@hidden TyzxGLModif] cat > script.m
1;

printf("A line");
address@hidden TyzxGLModif] octave -q script.m > a_file
address@hidden TyzxGLModif] cat a_file
A address@hidden TyzxGLModif] od -bc a_file
0000000 101 040 154 151 156 145
          A       l   i   n   e
0000006
address@hidden TyzxGLModif] octave --version
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
[snip]

address@hidden TyzxGLModif] uname -a
Linux pastis 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009 i686 i686 i386 GNU/Linux




Quoting Alexandros Droseltis <address@hidden> (Sat, 11 Jul 2009 15:25:25 +0200):

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
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave




--
http://www.isr.ist.utl.pt/~etienne

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



reply via email to

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