#!/bin/sh # # This program is Free Software under the GNU GPL (>=v2). # Adjust the current region settings to a raster map # specified as parameter, then display the map if test "$GISBASE" = ""; then echo "You must be in GRASS to run this program." exit fi #map name is first parameter: MAP=$1 #zoom: g.region rast=$MAP #erase monitor and display map: d.erase d.rast $MAP