mkscript problem
Guest wrote on Nov 23, 2005
Hi Melissa,
> I am currently trying to put together what was originally meant to
> be a
> simple command line script using mkscript and seem to have stumbled
> onto a
> bug. It appears that IRAF is literally ignoring two lines in the
> script
> for no apparent reason. It literally skips over those lines and
> continutes
> to the next. If I put a slush line in (I used "blah") it works, which
> leads me to think that the issue is that the lines are ignored
> rather than
> there being a syntax issues with the commands.
I have been unable to duplicate your problem and suspect that the
loose syntax of the simple list of commands compiled by mkscript has
something to do with the problem. Mkscript was never intended to
create long, involved scripts. Would recommend you consult the CL
Script Users Guide (http://iraf.noao.edu/iraf/ftp/iraf/docs/
script.pdf) for other options.
In the mean time, it sounds like the "blah" method provides a
workaround for the problem you are seeing?
Rob Seaman
NOAO/IRAF
Post generated using Mail2Forum (http://www.mail2forum.com)
> I am currently trying to put together what was originally meant to
> be a
> simple command line script using mkscript and seem to have stumbled
> onto a
> bug. It appears that IRAF is literally ignoring two lines in the
> script
> for no apparent reason. It literally skips over those lines and
> continutes
> to the next. If I put a slush line in (I used "blah") it works, which
> leads me to think that the issue is that the lines are ignored
> rather than
> there being a syntax issues with the commands.
I have been unable to duplicate your problem and suspect that the
loose syntax of the simple list of commands compiled by mkscript has
something to do with the problem. Mkscript was never intended to
create long, involved scripts. Would recommend you consult the CL
Script Users Guide (http://iraf.noao.edu/iraf/ftp/iraf/docs/
script.pdf) for other options.
In the mean time, it sounds like the "blah" method provides a
workaround for the problem you are seeing?
Rob Seaman
NOAO/IRAF
Post generated using Mail2Forum (http://www.mail2forum.com)
Last post on Nov 23, 2005