#!/bin/sh temppath=/tmp/htdig/ooffice rm $temppath/tmp/htdig/ooffice/content.xml unzip $1 content.xml -d $temppath/ cat $temppath/content.xml | sed -e "s/<[^>]*>/ /g"