#!/bin/csh
#$argv[1]: name of dynamical system class
#$argv[2-] codenames of dynamical systems in this class
#

set outdir = $KAOSHOME/helplib
set outfile = $outdir/online_help.12

echo "Collect information files for a set of dynamical sytems to a class ${argv[1]}..."

cat > $outfile <<END
/*
	This file is automatically written by kwrite_info.
*/
/* KAOS DYNAMICAL SYSTEM CLASS = ${argv[1]} */

END

set argum = 
foreach argum ($argv[2-])
	cat ${argum}.info >> $outfile
end
echo Done!
