[GRASSLIST:4529] r.mapcalc and environment variables
daniel_victoria at yahoo.com
Wed Sep 18 09:50:53 EDT 2002
I'm trying to automate a process that will use
r.mapcalc. The problem is that some of the numbers and
also the map name are stored in a bash environment
variable (like $i)
but when I call the variable on the formula line it
gives me a map [$i] not found. How should I write the
formula line? I'm doing something like this...
for i in `cat images`
r.mapcalc output=$i+bla bla bla...
Do you Yahoo!?
Yahoo! News - Today's headlines
More information about the grass-user