2 # processes cgi request and passes it on to the real script.
4 show_name="$(echo $QUERY_STRING | sed -e "s/^[^=][^=]*=\(.*\)$/\1/" | sed -e "s/\+/ /g")"
5 vids="$DOCUMENT_ROOT/Info/Quartz/video/video_tapes.csv"
7 randof="$(mktemp "$TMP/zz_randocgi.XXXXXX")"
9 sh show_stripper.sh "$vids" "$show_name" &>"$randof"
11 if [ -s "$randof" ]; then
13 echo "Content-type: text/plain"
20 echo "Content-type: text/html"
23 cat /var/www/yeti/pictures/no_matches.html