[GRASS-dev] r.colors: rules file list unsorted
Hamish
hamish_nospam at yahoo.com
Sun Jan 28 18:15:04 EST 2007
Paul Kelly wrote:
> What about a library function that does the same thing as system("ls") or
> system("ls -C"). I can think of several places where it would be useful.
> It could accept the directory as an argument, also the stream to output
> too (e.g. stdout or stderr) and perhaps a flag to do a column-wise listing
> (a la "ls -C"). I think this would be the hardest part to do; not sure how
> ls does it - unless there is something easy we could do with format
> conversion strings?
see-
http://thread.gmane.org/gmane.comp.gis.grass.devel/17252/focus=17271
http://thread.gmane.org/gmane.comp.gis.grass.devel/17252/focus=17267
http://article.gmane.org/gmane.comp.gis.grass.devel/17443
http://thread.gmane.org/gmane.comp.gis.grass.devel/16041/focus=16223
[yes, please; system("ls") isn't portable]
Hamish
More information about the grass-dev
mailing list