[GRASSLIST:561] Script variables

Radim Blazek radim.blazek at gmail.com
Tue Apr 4 06:48:37 EDT 2006


Because the implementation of bash for Windows converts enviroment
variables to upper case we changed g.parser so that it sets also uppercase
variant of the variable and all the scripts in GRASS were updated.

For example if there is defined an option with key 'input' it will be available
in variable GIS_OPT_INPUT. The old version with lower case key is also
supported but it does not work in bash on Windows.

If you want to make your scritps working on Windows you need
to change all the variables GIS_OPT_* and GIS_FLAG_* to upper case.

This change is available in CVS and will be in GRASS 6.2.0.

Radim




More information about the grass-user mailing list