[GRASS5] Re: g.mremove
Andreas Lange
Andreas.Lange at Rhein-Main.de
Fri Dec 1 14:53:42 EST 2000
Hi Markus, Hi Huidae,
isn't g.mremove a little bit dangerous? I still remember my first rm -fR
/ and think that an accidental g.mremove -w rast=* would be bad too.
So a check (remove y/n) and a flag -f (force) would be nice.
And i would vote for making wildcards standard and regexp an option.
I can confirm that "g.mlist -w type=rast *" does not work. "g.mlist
type=rast" does.
And it is not possible to shorten the parameter names, e. g. g.mlist
typ=rast does not work.
cu,
Andreas
Markus Neteler wrote:
>
> On Thu, Nov 30, 2000 at 03:43:06PM +0900, Huidae Cho wrote:
> > Hi Markus,
> >
> > Good news!
> > I've added g.mremove to use wildcard in g.remove. Also g.mlist now supports
> > wildcard with -w flag.
> >
> > Could you test this script?
> Hi Huidae,
>
> the g.mremove is working (hi all: this is g.remove with wildcards)!
> g.mremove rast=*.dgm
>
> was a big help for my overloaded location!
>
> However:
> The g.mlist is not (or I don't understand to use it):
> GRASS:~/ggg > g.mlist -w type=rast d*
> GRASS:~/ggg > g.mlist -w type=rast d
>
> But I have
> g.list rast
> ----------------------------------------------
> raster files available in mapset lamme:
> as dgm12.5 drain lgo5 sine tk25
> aspect12.5 dgm12.5_aus_50 eins2 lgout slope topidx
> ..
>
> Anyway, many thanks for writing g.mremove. If the others agree and the
> module is stable, we could rename g.mremove to g.remove and "hide" the
> g.remove *module* in GISBASE/etc/ for internal use by the new script.
>
> Yours
>
> Markus
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list