#!/bin/sh
while read; do
 if echo "$REPLY" | grep -q "^Subject: "; then
  subject=`echo "$REPLY" | cut -c10-`
  break
 fi
done

zwrite -d -c scripts -i commits -s "$subject"
