In an E-mail message, Amy Keeley wrote:
> 
> 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.
> 
> 

You can use the command, "g.list region".  This command searches the
windows directories named in your mapset search path.  This search path
is stored in a file called SEARCH_PATH in your $LOCATION.


-- 
-------------------------

Paul Loechl					p-loechl@cecer.army.mil
USA CERL					(217)352-6511x7668

