Hamish pisze:
Maciej Sieczka wrote:
What's wrong?
The g.mlist script relies on the g.list module being run untranslated
Ah right.
The immediate fix is to add a couple of lines to the start of the script temporarily disabling the locale settings, much like is done for scripts that use awk to stop "," being used as the decimal marker.
I think this is a good idea for all shell scripts then. Many use grep, sed, tr etc. like if the output was always in English.
The long term fix is to rewrite g.mlist not to be a hack.
I'm affraid the issue is not limited to g.mlist. Maciek _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
