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

Daniel Calvelo dca.gis at gmail.com
Sun Jan 28 15:03:29 EST 2007


Hi Markus,

You mean sorting by name in the rules file listing when using help,
don't you? r.colors -l should give a sorted list.

Daniel.

On 1/28/07, Markus Neteler <neteler at itc.it> wrote:
> 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
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>


-- 
-- Daniel Calvelo Aros




More information about the grass-dev mailing list