[Thread Prev][Thread Next][Index]

[ferret_users] ferret -script dir/script.jnl



Hi Ferreters,

I'm wondering if this is a bug in Ferret.  Basically,
I've been trying to use Ferret like this

     ferret -script dir/script.jnl

unsuccessfully, so far.  Here's a transcription of a session
to illustrate the problem (where the "$"s are the shell prompts):

  $ echo say hello > hello.jnl
  $ /usr/local/ferret-6.0/bin/ferret_v600 -script hello.jnl
  hello
  $ mkdir tmp
  $ echo say hello > tmp/hello.jnl
  $ /usr/local/ferret-6.0/bin/ferret_v600 -script tmp/hello.jnl
   **TMAP ERR: non-existent or not on line
               /tmp
  GO tmp/hello.jnl
  Command file, command group, or REPEAT execution aborted
  STOP -script mode, ERROR RUNNING SCRIPT statement executed
  $

I've also tried 

   . . . -script \'tmp/hello.jnl\'

and

   . . . -script \"tmp/hello.jnl\"

but neither works.

I'm using Ferret 6.0 on a Debian GNU/Linux machine.

Regards,
Ryo


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement