Hi Antonio, > itinialization of counter1 > r.mapcalc $GIS_OPT_COUNTER1= "float (0)" shouldn't be counter1= GIS_OPT_SOMA > > The cycle: > IFS=, > for opt in $GIS_OPT_INPUT; do > r.mapcalc $GIS_OPT_SOMA= "$opt+$GIS_OPT_SOMA)" > done | | is there a ')' too much? ------------------------| ? Achim