[GRASS5] r.colors again

Hamish hamish_nospam at yahoo.com
Fri May 14 08:07:28 EDT 2004


> Typing rules on stdin is less than ideal. It might be better to just
> add a "file=" option (equivalent to color=rules plus stdin
> redirection) and require that the user stores their rules in a file. 


Please lets not lose the ability to do, e.g.:

r.colors mapname col=rules << EOF
  0 red
  1 green
  2 blue
EOF


in scripts, as it's very useful.



H




More information about the grass-dev mailing list