[GRASS5] [bug #973] (grass) rgbcolors - d.save
Eric G. Miller
egm2 at jps.net
Thu Mar 21 20:58:26 EST 2002
On Thu, Mar 21, 2002 at 08:02:28PM +0000, Glynn Clements wrote:
> Ultimately it's G_recreate_command() which needs to be fixed[1]. You
> can get it 99% right by just putting single quotes around each
> argument; to get it completely right, you also have to replace any
> single quotes with "'\''" (quote-backslash-quote-quote).
>
> [1] I'll look at it at some point.
>
> Also, this is a warning sign regarding the syntax. Even though the
> issue is specifically addressed in the "NOTES" section of the d.area
> manpage, I wouldn't be surprised if we get "bug" reports due to users
> failing to quote the argument (there's already been one case of a user
> attempting to use spaces in a multi-valued argument).
Don't know if this problem would affect too many other modules, and
d.vect.area doesn't use rgb(num num num), recognizing the problem
with spaces.
--
Eric G. Miller <egm2 at jps.net>
More information about the grass-dev
mailing list