Command Line Lists...

Amy Keeley akeeley at ncdc.noaa.gov
Mon Feb 6 13:32:23 EST 1995


Hello,

I am writing an interface to
GRASS with the combined uses 
of a C program and some shell
scripts.  What I would like to
do is present the interface
user with a list of currently
available region files.  Is there
a way to produce a list of files 
using the command line parameters?
This could also be used for d.rast,
d.vect, etc.  It would seem that 
something like:

g.region region=list

would work.  It doesn't.  I probably
will just do a unix 
"ls /$GISDBASE/$LOCATION/$MAPSET/windows"
but I was wondering if there is 
another way within GRASS.

Thanks in advance,
Amy Keeley
akeeley at ncdc.noaa.gov



More information about the grass-user mailing list