[GRASSLIST:2609] r.reclass from a shell script

Hi,

How would I execute r.reclass command from a script?

Thanks, Miha Staut

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

Miha STAUT wrote:

How would I execute r.reclass command from a script?

  r.reclass in=... out=... < rules_file

Or, if you want to embed the rules in the script:

  r.reclass in=... out=... <<EOF
  <rule>
  <rule>
  ...
  EOF

--
Glynn Clements <glynn.clements@virgin.net>