Hey guys,

Thanks for the help recently guys. Here is one more question.

I am using a program called meep that allows you to change parameters from the Terminal
example: meep fcen=1.1 testing.ctl
this runs the ctl file, but changes a single parameter (fcen) to 1.1

I am wondering how to write a script (or whatever it would be called) to let me specify different values (no loops are needed in the script to increment the values, I will just enter them manually) for fcen. The command "meep fcen=1.1 testing.ctl" takes about 10 minutes to execute. After this is done I want to run two other commands:
"h5topng -t 0:99 -R -Zc dkbluered -a yarg -A testing-eps-000000.00.h5 testing-ez.h5"
"convert testing-ez.t*.png outputvideo.gif"

So, ideally it would look something like this
meep fcen=1.1 testing.ctl
(wait until this is done)
h5topng -t 0:99 -R -Zc dkbluered -a yarg -A testing-eps-000000.00.h5 testing-ez.h5
(wait until this is done)
convert testing-ez.t*.png outputvideo1.gif
(wait until this is done)
meep fcen=1.2 testing.ctl
(wait until this is done)
h5topng -t 0:99 -R -Zc dkbluered -a yarg -A testing2-eps-000000.00.h5 testing-ez.h5
(wait until this is done)
convert testing2-ez.t*.png outputvideo2.gif
(wait until this is done)

Thanks for any help, and sorry for long post

-John