#!/bin/sh

if [ "$1" = "" ]; then
	echo "usage: $0 <demo_name>"
	exit
fi

rm -f .sources .headers

sed -e "s/newdemo/$1/g" <template/new_demo.C >${1}_demo.cc
sed -e "s/newdemo/$1/g" <template/new_demo.H >${1}_demo.h
