Thomas Güttler wrote:
Hi Tduell,

I use the shell daily, but only for interactive usage.

I stopped scripting with the shell some years ago. I don't like the shell for 
scripting
since:

  - The shell does not know the concept of exceptions or stacktraces.
It knows about exit statuses (see next)

  - The shell goes to the next line if something is wrong. I want the programm 
to stop, not to proceed.
Use the -e flag.

 -e      Exit immediately if a pipeline (which may consist of a single simple 
command), a list, or a  com‐
                      pound  command (see SHELL GRAMMAR above),  exits with a 
non-zero status.

  - The shell has major problems handling filenames which contain special 
characters.
Use quotes.

does this answer your question? Feel free to ask more details :-)

  BugBear

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/560A590A.3050803%40papermule.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to