#!/bin/sh
for i in `find . -type f -name '*.ps*' -print | sort`; do
  PDF=`echo $i | sed -e 's/[.]ps.*//' -e 's/[.]msword.*//'`.pdf
  if [ ! -f "$PDF" ]; then
    echo $PDF
    gunzip --quiet $i
  fi
done
exit 0
