#!/bin/csh -f # make_error_loading_slide_div # ------------------------------------------------------------------------- # Shell script to create an HTML DIV to report an error when loading a # slide. # ------------------------------------------------------------------------- # Revision History: # $Log$ # ------------------------------------------------------------------------- # Collect command line options while ($#argv > 0) if ("$1" == "-h" || "$1" == "--help") then echo "Usage: $0:t [options] > error.htm" echo "Options:" echo " -h = Show this help text" echo " --help = Show this help text" exit 1 else if ("-" == "`echo $1:q | cut -c 1`") then echo "Error: Invalid option: $1:q" $0 --help exit 1 else # Not a recognized option. Assume it's the first argument break endif end # No arguments defined, so allow none if ($#argv > 0) then $0 --help exit 1 endif # Echo the following lines w/o expanding dollar sign vars, or anything cat <<"EOF"
Hint: | In Firefox, you can use local files if you change the option "privacy.file_unique_origin" to false in about:config. Don't forget to change it back afterwards! |