rm CDF/*
awk -F"^" ' 
{ dt=$2 }
/é/ { r=index(dt,"é");dt=substr(dt,1,r-1)""substr(dt,r+1) }
{
file = "CDF/H"sprintf("%.4d",NR)
print "H01"$1 > file
print "H02"$2 > file
print "" >file
close(file)
} ' CDFON.csv
>../data/cdfon/H
>../data/cdfon/HEAD
echo -n "    0     0">../data/cdfon/INFO

for i in CDF/*
do
../ihd/bin/ihmu cdfon ../../import/$i -N1
done
exit

