#!/bin/sh

tmpfile=`mktemp` || exit 1

cat >$tmpfile

unzip -p $tmpfile content.xml \
|  sed -e 's|<text:p |\n\n&|g' -e 's|<[^>]*>||g' \
| sed -e 's|\&quot;|"|g'

rm $tmpfile
