NAME
g.pushregion.sh
g.popregion.sh
g.clearregion.sh - Manage a stack of region definitions.
(GRASS Shell Script)
SYNOPSIS
g.pushregion.sh
g.popregion.sh
g.clearregion.sh
DESCRIPTION
g.pushregion.sh and g.popregion.sh
are UNIX shell scripts to temporarily save and restore region definitions
(i.e. 'WIND' files.)
A 'stack' of regions is maintained automatically. Up to 10 regions may
be pushed. g.clearregion.sh clears the region stack
without affecting the current region.
OPTIONS
None.
NOTES
The 'stack' is really just saved regions with special names. The stack
region files are named _PUSH_POP_.n, where n is incremented
and decremented for each push/pop.
Trying to push more than 10 regions, or popping an empty stack will result
in an error message.
FILES
$LOCATION/windows/_PUSH_POP_.[0-9]
SEE ALSO
g.region
g.remove
AUTHOR
Tom Poindexter, March, 2000
tpoindex@nyx.net