#!/bin/csh -f

# run color tests.

while ($#argv > 0)

set in=$1
set out=$1.test
rm -f $out
touch $out

#set preferred_colors=(10 15 13 18 21 23 25 27 30 37 40 41 44 49 51 55)
#foreach c ($preferred_colors)
#  sed "s/time .*/cmap $c/" $in >> $out
#end

set a=10
while ($a > 0)
  cat $1 >> $out
  @ a--
end
shift
end
