No subject
gonzalo infante llorca
gonzaloinfantellorca at GMAIL.COM
Sun Jun 21 12:12:50 EDT 2009
Dear grads users,
i am trying to execute a grads script from a bash script.
The grads script need as an input the filenames to open.
It works ok if i write from the grads comand line
ga> myscript filename 1 filename2
but if i try to execute from the terminal command line like
grads -bc myscript filename1 filename2
nothing happens.
Also note that my script is consist on a main funcion like
function main(arg)
if (arg='')
say 'necesitamos los dos ficheros de datos a abrir'
say 'primero el del del análisis y luego las predicciones'
return
endif
fichero1=subwrd(arg,1)
fichero2=subwrd(arg,2)
....
end
Any idea on how to pass the input argument from command line or bash script??
Thanks in advance
Gonzalo
More information about the gradsusr
mailing list