[GRASSLIST:5710] g.mlist problem

hello,

I want to list all raster files which start with a00, but I did not receive
any output when using this command:

g.mlist pattern='a00*.img'

g.mlist pattern="a00*.img"

or just "a*" does not result in any file listing.

however g.list rast gives me:

a00011nd.img a84102nd.img
a00012nd.img a84103nd.img
a00013nd.img a84111nd.img
a00021nd.img a84112nd.img

How do I use g.mlist properly? Martin

Hi,

That is a kind of bug. You should specify a mapset which contains
a00.*img maps. g.mlist does not search the mapset search path that
g.list uses, so I fixed it in CVS.

Try something like this:

  g.mlist pattern='a00*.img' mapset=PERMANENT

Huidae Cho

On Thu, Feb 10, 2005 at 01:32:33PM -0500, Martin Wegmann wrote:

hello,

I want to list all raster files which start with a00, but I did not receive
any output when using this command:

g.mlist pattern='a00*.img'

g.mlist pattern="a00*.img"

or just "a*" does not result in any file listing.

however g.list rast gives me:

a00011nd.img a84102nd.img
a00012nd.img a84103nd.img
a00013nd.img a84111nd.img
a00021nd.img a84112nd.img

How do I use g.mlist properly? Martin

thanks, now it's working with "mapset=PERMANENT", Martin

On Thursday 10 February 2005 15:43, Huidae Cho wrote:

Hi,

That is a kind of bug. You should specify a mapset which contains
a00.*img maps. g.mlist does not search the mapset search path that
g.list uses, so I fixed it in CVS.

Try something like this:

g.mlist pattern='a00*.img' mapset=PERMANENT

Huidae Cho

On Thu, Feb 10, 2005 at 01:32:33PM -0500, Martin Wegmann wrote:
> hello,
>
> I want to list all raster files which start with a00, but I did not
> receive any output when using this command:
>
> g.mlist pattern='a00*.img'
>
> g.mlist pattern="a00*.img"
>
> or just "a*" does not result in any file listing.
>
> however g.list rast gives me:
>
> a00011nd.img a84102nd.img
> a00012nd.img a84103nd.img
> a00013nd.img a84111nd.img
> a00021nd.img a84112nd.img
>
> How do I use g.mlist properly? Martin

--
Dipl.-Biol. Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de