#! /bin/sh

forreal=true

if $forreal
then
  ./editor -addentry
else
  echo 'Content-type: text/html'
  echo
  echo "<html><head><title>Addentry test</title></head>"
  echo "<body>"
  echo "<h1>Addentry test</h1>"
  echo "<pre>"
  cat
  echo "</pre>"
  echo "</body></html>"
fi

