Can't execute file

Carlo de Falco carlo.defalco at gmail.com
Thu May 14 11:58:47 CDT 2009


On 14 May 2009, at 16:34, William Miner wrote:

> dsl017-068-210:Octave williamminer$ cat hello
> #! octave -qf
> # A sample Octave program
> printf ("Hello, world!\n");

I think you have to specify the full path to the Octave executable or  
write the shebang line as:

$ cat hello.m
#! /usr/bin/env octave -qf
printf("hello, world!")

c.


More information about the Help-octave mailing list