[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Executing octave from Octave.app (Macintosh)
From: |
Vic Norton |
Subject: |
Executing octave from Octave.app (Macintosh) |
Date: |
Wed, 3 Oct 2007 11:17:30 -0400 |
How to get the octave in Octave.app to execute from terminal:
$ octave
and to be called by the shebang line
#!/usr/local/bin/octave.
Put the two-line, shell-script "octave"
#!/bin/sh
/Applications/Octave.app/Contents/Resources/bin/octave
in /usr/local/bin and make it executable.
I guess this should be obvious, but it wasn't obvious to me. I've
wasted a lot of time trying to get symbolic links to work.
Regards,
Vic
- Executing octave from Octave.app (Macintosh),
Vic Norton <=