command line lists.

How about: g.list region [mapset=]

From grass-lists-owner@moon.cecer.army.mil Mon Feb 6 13:52:38 1995
Date: Mon, 6 Feb 1995 13:32:23 -0500
From: akeeley@ncdc.noaa.gov (Amy Keeley)
Sender: grass-lists-owner@moon.cecer.army.mil
Reply-To: grassu-list@moon.cecer.army.mil
To: grassu-list@max.cecer.army.mil
Subject: Command Line Lists...
Content-Length: 610

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@ncdc.noaa.gov

----- End Included Message -----