[Thread Prev][Thread Next][Index]
Re: Standard input and ferret
"Michel Beland (professionnel de recherche)" wrote:
Michel,
I'm using v5.00 for producing movies, which works fine. In my script
there are two major differences to your commands:
1. I am using csh
2. I've indented the FERRET commands by two blanks (that might be the
problem).
Here's my script:
foreach snapfile (*.cdf )
ferret >& /dev/null <<EOF
use "$snapfile"
go "$movie1"
frame/file="gif/movie1.gif"
cancel movie
exit
EOF1
end
Hope that helps,
Arne
> A colleague of mine tried to run ferret in a script so that the standard
> input would be read from the script through what is called a here
> document. Basically, he did something like this (Bourne shell syntax):
>
> for i in 17 32 45
> do
> ferret <<END
> go script.$i.jnl
> quit
> END
> done
>
> When I try to run this with ferret v5.00 beta 1.1, I get the yes?
> prompt, the go command is not executed and I cannot type anything. I
> have to kill ferret from another window. If I use v4.91, though, it
> works perfectly. Is there any trick that needs to be done to make it
> work with version 5.0 beta 1.1 or is this a bug ? I tried also with the
> -batch command line option, but it did not help. The problem occurs
> using the SGI version compiled for IRIX 6.5.
>
> Thanks,
>
> --
> Michel Béland beland@CERCA.UMontreal.CA
> professionnel de recherche tél: (514)369-5223 fax: (514)369-3880
> CERCA (Centre de recherche en calcul appliqué)
> 5160, boul. Décarie, bureau 400(423), Montréal (Québec), Canada, H3X 2H9
--
Dr. Arne Biastoch
Physical Oceanography Research Group phone: +1-858-822-3787
Scripps Institution of Oceanography fax : +1-858-534-9820
MS: 0230 email: abiastoch@ucsd.edu
8605 La Jolla Shores Dr.
La Jolla, CA 92093-0230, U.S.A. http://www.ecco.ucsd.edu/~biastoch
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement