[ncl-talk] run ncl script in "bash" *.sh

Erika Folova e.folova at gmail.com
Wed Aug 6 15:40:43 MDT 2014


Dear NCL,

Do me a favor, how to run some ncl scripst in a shell script: e.g;

================================
!/bin/bash/

declare -a arr=("fma" "mam" "amj")

for i in "${arr[@]}"

do

   echo "$i"
   cd ${i}/
   *ncl script.ncl*
   cd ../

done
================================

I got errors by doing this, Thank you
cheers,

Erika,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140807/bb89535d/attachment.html 


More information about the ncl-talk mailing list