Running .cl script
cmwarre wrote on Apr 05, 2011
hi what all do I need to do to run a .cl script on osx? I installed iraf via the scisoft package.
Thanks!
Thanks!
Mike Fitzpatrick wrote on Apr 05, 2011
It depends on exactly what's in the .cl file: If it is just a list of IRAF commands you can run those commands as e.g.
If .cl contains a procedure script, you need to declare it as a task first, e.g.
See the Script Beginner's Guide (http://iraf.net/irafdocs/beguide/) for additional detail.
ecl> cl < myfile.clIf .cl contains a procedure script, you need to declare it as a task first, e.g.
ecl> task mytask = /path/mytask.cl
ecl> mytask infile.fits
See the Script Beginner's Guide (http://iraf.net/irafdocs/beguide/) for additional detail.
Last post on Apr 05, 2011