[GRASS5] [bug #2488] (grass) GRASS 5.7 WISH - improve string reading ability in g.parser
glynn.clements at virgin.net
Wed Jun 16 19:31:14 EDT 2004
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2488
> Subject: GRASS 5.7 WISH - improve string reading ability in g.parser
> grass binary for platform: MacOSX
> GRASS Version: 5.7 26-03-2004
> g.parser has difficulties parsing strings with spaces in them. If you
> enter a string with spaces, it treats each word as a separate, illegal
> entry for that variable.
I can't reproduce this behaviour with 5.3, and g.parser itself is
unchanged in 5.7 (although G_parser() has some changes).
Are you sure that the problem isn't in the way that the GIS_OPT_*
variables are used in the script? Have you tried it with the test.sh
script from the g.parser directory? E.g.
$ test.sh rast=fields vect=fields option1='hello world'
Flag -f not set
Value of GIS_OPT_option1: 'hello world'
Value of GIS_OPT_raster: 'fields'
Value of GIS_OPT_vect: 'fields'
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev