#!/bin/sh
#
# Have a bash at decoding NewsGrazer data. Doesn't handle attachments.
#
awk '
BEGIN { printf "begin 0666 /tmp/piper.graze\n" }
{ print }
END { printf "end\n" }
' | uudecode
cat /tmp/piper.graze
rm -f /tmp/piper.graze
