[GRASS5] [bug #977] (grass) s.in.ascii core dumps
Request Tracker
grass-bugs at intevation.de
Mon Mar 25 07:29:18 EST 2002
this bug's URL: http://intevation.de/rt/webrt?serial_num=977
-------------------------------------------------------------------------
Subject: s.in.ascii core dumps
Platform: Linux/Intel
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: (latest) GRASS from CVS, pre3/CVS versio
s.in.ascii sites=eaurinia input=e_aurinia.txt fs=","
or
s.in.ascii sites=eaurinia input=e_aurinia.txt fs=,
dumps core on data in the form like this:
3500900,5704300,"AAAAAAAANF","Name",
3500900,5704300,"AAAAAAAANF","Name, another Name",
3555700,5697800,"AAAAAAAANG","Name with umlauts äöü",
3501500,5694000,"AAAAAAAANH","Name...",19760101
cat e_aurinia.txt | tr "," "\t"| s.in.ascii sites=eaurinia2
works partially. Only some lines are imported. If i cut off all fields exept the easting/northing part it works.
I am in a hurry, so i am not able to check further.
I think that s.in.ascii should at least not core dump on input, irrespectively how weird it is.
My guess is that the problem is either the unquoted "," inside the qouted field or the empty fifth field.
Andreas
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list