command line lists.

Stuart Bradshaw bradshaw at lewis-deh2.army.mil
Mon Feb 6 18:16:41 EST 1995



How about:  g.list region [mapset=]



> From grass-lists-owner at moon.cecer.army.mil Mon Feb  6 13:52:38 1995
> Date: Mon, 6 Feb 1995 13:32:23 -0500
> From: akeeley at ncdc.noaa.gov (Amy Keeley)
> Sender: grass-lists-owner at moon.cecer.army.mil
> Reply-To: grassu-list at moon.cecer.army.mil
> To: grassu-list at 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 at ncdc.noaa.gov
> 


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




More information about the grass-user mailing list