[GRASS-dev] select issue with wingrass

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Mon Nov 12 11:42:12 EST 2007


> 
> We received an error with the following simple mapcalc statements
> 
> r.mapcalc 'frict=1'
> r.mapcalc 'test=pendiente*2'
> 
> It turns out that you cannot use single quotes in this context. You need to
> use regular quotes. So the way to specify the same mapcalc statements from
> the GUI command console is...
> 
> r.mapcalc "frict=1"
> r.mapcalc "test=pendiente*2"

I can confirm this behaviour using Windows' cmd.exe shell. It does not
seem to be able to handle single quotes correctly. But then again,
cmd.exe is sth. very different from your regular unixish shell.
If I run MSYS' sh.exe in the Windows console, things tend to work fine
for me.

Benjamin


-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg




More information about the grass-dev mailing list