[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Get Octave meta info with executable script with #! /// -qf
From: |
rmt1 |
Subject: |
Get Octave meta info with executable script with #! /// -qf |
Date: |
Sun, 22 Jun 2014 16:15:55 -0700 (PDT) |
Hellos.
On a Mac. My shellscript calls a makemap.m with arguments by:
octave --persist makemap.m $core $increment $place $latitude $longitude
Then in makemap.m I do the executable Octave script with first line:
#!/opt/local/bin/octave -qf
This webpage seems to say that not all Nix platforms will interpret the
"-qf" option the same way:
https://www.gnu.org/software/octave/doc/interpreter/Executable-Octave-Programs.html#Executable-Octave-Programs
My "symptom" is that when my script runs, I get all the headers of an
executing Octave script, as if I was on the Octave command line, whereas I
understand that the -qf tells the bash script to hide all that, so that the
user doesn't observe that it's an Octave script executing to produce the
output (which is through Aqua).
SO. Is that just how it is on a Mac - you have to watch all the Octave
headers as it executes?
Thanks!
Headers being:
"GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions." , etc.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Get-Octave-meta-info-with-executable-script-with-qf-tp4664929.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Get Octave meta info with executable script with #! /// -qf,
rmt1 <=