[GRASS-dev] updates to grass startup

Glynn Clements glynn at gclements.plus.com
Thu Dec 14 05:57:17 EST 2006


Hamish wrote:

> > > now locations and mapsets are not sorted in alphabetical order.
> > > :/
> > > 
> > 
> > I wonder what changed this? Need to look back at the code.
> 
> 
> maybe this?
> 
> CVS log for grass6/lib/init/gis_set.tcl
> 
> Revision 1.41 / (as text) / (view) - annotate - [select for diffs] , Wed Dec 6 00:01:53 2006 UTC (8 days, 6 hours ago) by michael
> Branch: MAIN
> Changes since 1.40: +18 -26 lines
> Replace exec ls with pure TclTk (glob, etc) for Windows compatibility.
> 
> 
> 
> Perhaps glob gives raw order?

According to the glob(n) manpage:

       The glob command differs from csh globbing in two ways.  First, it does
       not  sort  its  result list (use the lsort command if you want the list
       sorted). [snip]

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list