anchor.diff: -:<<"remIGNORE_THIS_LINE"
  +:<<"::IGNORE_THIS_LINE"
   @echo off
   goto :CMDSCRIPT
  -remIGNORE_THIS_LINE
  -
  -# This is a small script to stitch panorama images produced
  -# by Samsung Gear360
  +::IGNORE_THIS_LINE
  +
  +# This is a small script to stitch panorama images produced  by Samsung Gear360
   #
   # Trick with Win/Linux from here:
   # http://stackoverflow.com/questions/17510688/single-script-to-run-in-both-windows-batch-and-linux-bash
  
positive.code: OUTTMPNAME="out"
  JPGQUALITY=97
  PTOJPGFILENAME="dummy.jpg"
  
  # Clean-up function
  clean_up() {
      if [ -d "$TEMPDIR" ]; then
          rm -rf "$TEMPDIR"
      fi
  }
  
  # Function to check if a command fails, arguments:
  
negative.code:   echo -e "\nSmall script to stitch raw panorama files."
    echo "Raw meaning two fisheye images side by side."
    echo -e "Script originally writen for Samsung Gear 360.\n"
    echo -e "Usage:\n$0 [-q quality] [-o outdir] [-h] infile [hugintemplate]\n"
    echo "Where infile is a panorama file from camera, it can"
    echo -e "be a wildcard (ex. *.JPG). hugintemplate is optional.\n"
    echo "Panorama file will be written to a file with appended _pano,"
    echo -e "example: 360_010.JPG -> 360_010_pano.JPG\n"
    echo "-q|--quality will set the JPEG quality to quality"
    echo "-o|--output  will set the output directory of panoramas"
    echo "             default: current directory"
    echo "-h|--help    prints help"
  }
  
  create_gallery() {
    GALLERYFILELISTFULL="${GALLERYDIR}/${GALLERYFILELIST}"
    echo "Updating gallery file list in ${GALLERYFILELISTFULL}"
    ls -l *.mp4 *_pano.jpg > ${GALLERYFILELISTFULL}
  }
  
  # Source (modified)
  