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 <[email protected]> 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 <[email protected]>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to