Hi,
I try to transform a g01dgm file into a dbf readable by ArcMap.
I can't find out how to write the header of such a file without openoffice calc.
Since it's not possible to open more than 65536 lines in Open Office, I try to do it with command lines.
What and how should I write it?
Just as info, in order to format the column and lines with "." and space, I've wroten this litlle sh script (for mac):
file-name=test
cp $file-name.g01dgm $file-name.txt
tr '.' ',' <$file-name.txt> $file-name_step1.txt
sed -i '.bak' 's/ /./g' $file-name_step1.txt #g permet de repeter l'operation pls fois par ligne
tr '\r\n ' 'rot' <$file-name_step1.txt> $file-name_step2.txt
sed -i '.bak' 's/rot/ /g' $file-name_step2.txt
sed -i '.bak' 's/ot//' $file-name_step2.txt
Thanks.