#!/bin/csh -f
onintr error

if ( -e $1.H ) then
goto good1
elseif (-e $1) then
atoF < $1  > $1.H
else
echo "error"
goto error
endif

good1:

if (-e $2.H) then
goto good2
elseif (-e $2) then
atoF < $2  > $2.H
else
echo "error"
goto error 
endif

good2:

/r3/martin/bin/mtype/uncombine.x < $1.H inp2=$2.H >$3.H


error:
