[GRASS-dev] Re: [GRASS GIS] #528: wxGUI cmd: r.mapcalc fails

Markus Neteler neteler at osgeo.org
Fri Mar 13 19:39:44 EDT 2009


>  Currently the very simple command processor does not require quotes around
>  the main r.mapcalc argument.

But it should accept them. Otherwise folks copy command from
books and tutorials and get an error.

>  Spaces, in and of themselves are not a problem in the command processor.
>  The following works fine, for example
>  r.mapcalc newmap = 5
>  Note the lack of quotes and the spaces on either side of the "=".

Please try the shell valid example

r.mapcalc "newmap = 5"

You get a parse error in the wxGUI cmd which I find confusing
since it differs from the "normal" cmd line behaviour.


More information about the grass-dev mailing list