[Thread Prev][Thread Next][Index]

Re: Running a Ferret batch job from the shell



Hi Fred,
Yes, you can do this.  One way to send arguments to the Ferret
script is to write a Ferret script with those arguments and then
that to Ferret

shell-prompt%  echo "go script.jnl  in1 in2; exit" > s1.jnl
shell-prompt%  ferret < s1.jnl

Or use  ferret -batch or ferret -gif  to run without the x-server.

Ansley Manke

Frederic Chagnon wrote:

> Dear Ferreters,
>
> Does anyone know how (if it is at all possible) to
> run a ferret script directly from the Unix shell?
> For example, is it possible to issue a command
> such as this:
>
> shell-prompt% ferret < script.jnl $in1 $in2
>
> Thanks,
>
> Fred
>
> -----------------------------------------------------
> Frédéric Chagnon                 Ralph M. Parsons Lab
> MIT, Room 48-208                  Cambridge, MA 02139
> ph. +1.617.253.1969               fx. +1.617.253.7475
> -----------------------------------------------------

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement