|
From: | Vic Norton |
Subject: | Re: script octave on mac osx |
Date: | Thu, 30 Jul 2009 16:52:56 -0400 |
You can use the shebang line #!/usr/local/bin/octave in Octave scripts if 1) You put the "Octave" application (in "octave.app.dmg" from <http://octave.sourceforge.net>) into your Applications folder, and, 2) In Terminal, you do $ sudo ln -s \ /Applications/Octave.app/Contents/Resources/bin/octave \ /usr/local/bin The nice thing about this approach is that whenever you drop a new version of the Octave application into your Applications folder, the shebang line #!/usr/local/bin/octave will automatically use that version. Regards, Vic On Jul 30, 2009, at 10:51 AM, micmac wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |