[GRASS-dev] g.parser and zero length parameter

Maris Nartiss maris.gis at gmail.com
Wed Aug 3 13:22:47 EDT 2011


Hello,
db.out.ogr script some months a go got a quotes around file names to
allow spaces in them. That broke db.out.ogr as in one case it was
calling v.out.ogr and provided an empty parameter:
v.out.ogr "$FOO"
While $FOO was unquoted, unset $FOO wasn't causing problems, still
after quoting it, parser started to complain about not recognized
parameter. It's now hacked around in r47390 [1], still I'm wondering
if parser shouldn't be changed to ignore parameters with 0 length.

Not backporting fix to 6.4 till consensus on this issue is made.

Maris.

1. http://trac.osgeo.org/grass/changeset/47390


More information about the grass-dev mailing list