[GRASS-user] scripting mapcalc
    Daniel Victoria 
    daniel.victoria at gmail.com
       
    Fri Mar  6 06:21:20 EST 2009
    
    
  
Hi Glynn,
That is good to know. I started using that form because I would always
get confused with ' and " so I though that using the echo command
would be safer. But now that I know better, my scripts will be simpler
Daniel
On Fri, Mar 6, 2009 at 1:41 AM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
>
> There is no advantage to using the above form. Even if you use:
>
>        r.mapcalc "river = if(river == $old, $new, null())"
>
> the variables are still expanded by the shell.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
    
    
More information about the grass-user
mailing list