[GRASSLIST:5199] r.mapcalc note

Leonard Coop coopl at ippc2.orst.edu
Mon Dec 9 16:10:09 EST 2002

I used to be able to call r.mapcalc once to process several
commands in a script, using extra blank lines, like:

r.mapcalc << EOF
test1 = abs(RESID)/RSQR

test2 = abs(RESID2)/RSQR

but now only the first command gets evaluated unless I remove
the blank line, then it seems to work.

This changed behavior, while not hard to figure out (actually it gave me
fits for quite awhile), should be noted
somewhere in the man pages. I think it first started with GRASS5pre5.


Leonard Coop
Research Associate
Entomology Dept & Integrated Plant Protection Center
2046 Cordley
Oregon State University
Corvallis OR 97331-2907
Phone 541-737-5523
Fax   541-737-3080

More information about the grass-user mailing list