#528: wxGUI cmd: r.mapcalc fails
-----------------------+----------------------------------------------------
  Reporter:  neteler   |       Owner:  grass-dev@lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  wxGUI     |     Version:  svn-develbranch6         
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by cmbarton):

 I'm not sure we're talking about exactly the same thing.

 Currently the very simple command processor does not require quotes around
 the main r.mapcalc argument. This is also the case in other settings,
 including the TclTk command processor. Quotes are not required around the
 main r.mapcalc argument in the terminal on my Mac either. That was the
 original issue. I don't see this, in and of itself as a defect--though I
 suppose others might disagree.

 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 "=".

 I think the command processor also allows strings with spaces surrounded
 by quotes within arguments if a command requires them, but I would need to
 test this on a particular set of cases. I currently can't think of an
 appropriate test, but I'm sure there are such cases. If it does not allow
 spaces within an argument (as allowed by a GRASS command), this does need
 to be fixed if possible so that any GRASS command can be parsed correctly.

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/528#comment:10>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to