help-octave
[Top][All Lists]
Advanced

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

Re: script failure with 2.1.50


From: Geraint Paul Bevan
Subject: Re: script failure with 2.1.50
Date: Tue, 17 Feb 2004 15:40:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

daron wrote on 02/17/04 06:55:
| Hi all,
|
| Using FreeBSD 4.9 ( octave was compiled from the ports collection), this
| simple script fails :
|
| #! /usr/local/bin/octave -q
|
| Ew = 1.0;
|


| The error message is :
|
| ./ideal.m: line 4: Ew: command not found
| ./ideal.m: line 7: syntax error near unexpected token `('
| ./ideal.m: line 7: `Tp = linspace(100*Ew, 0.1*Ew, 2048);'
|


The error messages look like they come from the shell, not Octave. The
error is also reported as occurring on line 4, rather than line 3 as
would be expected.

Is there a blank line before the command "#! /usr/local/bin/octave -q" ?

If so, you will need to remove it.


- --
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iEYEARECAAYFAkAyNeMACgkQcXV3N50QmNMrBACgjKyn//I80A8Bem38+KIi0btv
4I8AnRFVT5DofiMuoBbrdIFmN6pU58vt
=QNLC
-----END PGP SIGNATURE-----



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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