How do I return a variable in GRASS GIS on a Windows machine?
For example I set a list of files to define my region. I already figured out that I can't use the bash command export, I need to use set instead. The command should be okay, but it doesn't return $MAPS.
set MAPS=`g.mlist type=rast sep=, pat="*"` g.region rast=$MAPS -p I tried already to check if the variable is set (echo $MAPS), but without success.
أكثر...
For example I set a list of files to define my region. I already figured out that I can't use the bash command export, I need to use set instead. The command should be okay, but it doesn't return $MAPS.
set MAPS=`g.mlist type=rast sep=, pat="*"` g.region rast=$MAPS -p I tried already to check if the variable is set (echo $MAPS), but without success.
أكثر...