dsl017-068-210:Octave williamminer$ cat hello
#! octave -qf
# A sample Octave program
printf ("Hello, world!\n");
If I execute octave hello_1_line I get
dsl017-068-210:Octave williamminer$ octave hello_1_line
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i386-apple-darwin8.9.1".