script octave on mac osx

Ben Abbott bpabbott at mac.com
Thu Jul 30 10:39:46 CDT 2009


On Jul 30, 2009, at 10:51 AM, micmac <julien.derr at dal.ca> wrote:

>
> Hello,
> I would like to make an octave script. How is it possible to do that  
> on mac
> osX.
>
> it is said to use #! /bin/octave
>
> but that seems to be the common path for linux, but what for mac  
> osx? I
> installed octave with macports.
> I have no idea where the executable is now...
>
> thanks a lot!!

Type "which octave" at the shell prompt.

I expect you'll get something like

     /opt/bin/octave

Ben


More information about the Help-octave mailing list