Opened 15 years ago
Closed 14 years ago
#1885 closed bug (fixed)
r.mapcalc command misses apices
Reported by: | pcav | Owned by: | rugginoso |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.5.0 |
Component: | GRASS | Version: | Trunk |
Keywords: | Cc: | venturato@… | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
If we run r.mapcalc in graphic mode, then we copy the resulting command in the GRASS shell, it throws an error, eg:
r.mapcalc raster_sum=((raster1+raster2))
bash: syntax error near unexpected token `('
If we add apices, it works:
r.mapcalc raster_sum='((raster1+raster2))'
same if we remove the parentheses:
r.mapcalc raster_sum=raster1+raster2
Looks an easy fix.
Note:
See TracTickets
for help on using tickets.
Hopefully fixed in r12916.