[GRASS-user] g.mlist with logical operators?

Markus Neteler neteler at osgeo.org
Tue Feb 14 13:47:37 EST 2012


On Tue, Feb 14, 2012 at 3:28 PM, Johannes Radinger <JRadinger at gmx.at> wrote:
> Hi,
>
> I'd like to list (using g.list) all raster maps
> that start with rast_* but not those which start with
> rast_A_* OR rast_B_* OR rast_C_*. I tried to use the
> OR operator and | but without success so far.
> Are such logical operators generally applicable with g.mlist?

Probably yes. I suppose that you need to enable one of these:
-r
    Use basic regular expressions instead of wildcards
-e
    Use extended regular expressions instead of wildcards

Markus


More information about the grass-user mailing list