[GRASS5] Conversion from site file (Grass 5.x) to vector file (Grass 6.x)

Hi,
I am going to rebuild a program I wrote in Grass 5.x for site files, and I think that it will be a big task to abandon that format and implement the same numerical routines to the data in vector format (Grass 6). I am writing this email to ask anyone if there is a manual that explain how a C programmer can do a painless conversion. Another question: are there new ways to parse the command line?
I am used to code software from Grass 4 (1998) and now these big changes make me feel obliged to ask help!
Thanks in advance!
Damiano

On Sat, Apr 30, 2005 at 01:11:49PM +0200, Damiano Triglione wrote:

Hi,
I am going to rebuild a program I wrote in Grass 5.x for site files, and I think that it will be a big task to abandon that format and implement the same numerical routines to the data in vector format (Grass 6). I am writing this email to ask anyone if there is a manual that explain how a C programmer can do a painless conversion. Another question: are there new ways to parse the command line?
I am used to code software from Grass 4 (1998) and now these big changes make me feel obliged to ask help!
Thanks in advance!

Damiano,

for a quick-and-dirty change have a look at:

lib/sites/README

in the new GRASS 6 source code. Takes you a few minutes to
update the code. But it's (much) slower than using the new
vector methods.

Best

Markus