[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't execute file
From: |
Carlo de Falco |
Subject: |
Re: Can't execute file |
Date: |
Thu, 14 May 2009 18:58:47 +0200 |
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.