anchor.diff:    echo "-h|--help    prints help"
   }
   
  +# Source (modified)
   # https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash
   while [[ $# -gt 0 ]]
   do
  
positive.code:   run_command  "nona" "-o" "$TEMPDIR/$OUTTMPNAME" \
                 "-m" "TIFF_m" \
                 "-z" "LZW" \
                 $PTOTMPL \
                 "$1" \
                 "$1"
  
  
negative.code:     return $status
  }
  
  # Function that processes panorama, arguments:
  # - input filename
  # - output filename
  # - template filename
  #
  process_panorama() {
    # Create temporary directory locally to stay compatible with other OSes
    # Not using '-p .' might cause some problems on non-unix systems (cygwin?)
  