#!/bin/sh # # MSPowerpoint.sum # # Takes a filename as the first argument. # Create a html format file from the input. # Pass that filename to the html summarizer. # # Usage: MSPowerpoint.sum filename # if test -z "$TMPDIR"; then TMPDIR="/tmp" fi if test ! -r "$1"; then echo "MSPowerpoint.sum: Cannot read file: $1" 1>&2 exit 1 fi tfile="$TMPDIR/ppthtml.$$.html" ppthtml $1 > $tfile 2> /dev/null HTML.sum $tfile rm -f $tfile exit 0