#! /bin/sh

# Purpose: calling script for the forms-driven attribute data editor

forreal=true

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

