[GRASS-dev] r.colors: rules file list unsorted

Markus Neteler neteler at itc.it
Sun Jan 28 14:26:43 EST 2007


Hi,

may I kindly ask to get add a qsort() function to the
rules_files() function in main.c of r.colors? Not sure
how to do that.

Currently the rules files are sorted by file time stamp
(I am testing some new rules here):

r.colors help
...
  rules   Name of predefined rules file
          options: aspect,bcyr,byg,byr,elevation,evi,etopo2,grey,gyr,ndvi,
                   population,rainbow,ramp,ryg,slope,srtm,terrain,wave,ryb,
                   aspectcolr,curvature,differences

thanks,
Markus




More information about the grass-dev mailing list