Details Ticket 1246


Comment | Reply | Take | Open


Serial Number 1246
Subject g.remove with wildcards, please
Area wish
Queue grass
Requestors peter.loewe@gmx.de
Owner none
Status resolved
Last User Contact Tue Aug 27 18:29:59 2002 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Oct 8 09:47:47 2002 (6 yr ago)
Created Tue Aug 27 18:12:07 2002 (6 yr ago)

Transaction History Ticket 1246


Tue, Aug 27 2002 18:12:07    Request created by guest  
Subject: g.remove with wildcards, please

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre4

Wildcards such as ?/* would be really handy when dealing with massive data clearing
efforts in GRASS.
For example, g.remove rast=foo??? would allow to get rid of foo001,foo002.....foo999,
etc.

Peter Löwe
Tue, Aug 27 2002 18:24:53    Mail sent by sholl@gmx.net  
Return-Path <sholl@gmx.net>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 27 Aug 2002 18:19:10 +0200
From Stephan Holl <sholl@gmx.net>
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #1246] (grass) g.remove with wildcards, please
Message-Id <20020827181910.260de8d8.sholl@gmx.net>
In-Reply-To <20020827161208.4C7B713AAF@lists.intevation.de>
References <20020827161208.4C7B713AAF@lists.intevation.de>
Organization Steph_online
X-Mailer Sylpheed version 0.8.1claws120-aspell (GTK+ 1.2.10; i686-pc-linux-gnu)
X-Face yuSM.z0$PasG_!+)P;ugu5P+@#JEocHIpArGcQZ^hcGos8:DBJ-tfTQYWyf`$2r0vfaoo7F|h.;Agl'@x8v]?{#ZLQDqSB:L^6RXGfF_fD+G9$c:)p<yycF[D a]*=*
Mime-Version 1.0
Content-Type multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.EbDKgiORjLxWGd"
X-Sender 510007208979-0001@t-dialin.net
X-Spam-Status No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
X-Spam-Level
--=.EbDKgiORjLxWGd
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

At Tue, 27 Aug 2002 18:12:08 +0200 (CEST) Request Tracker wrote:

Hello Request

> 
> Wildcards such as ?/* would be really handy when dealing with massive
> data clearing efforts in GRASS. For example, g.remove rast=foo???
> would allow to get rid of foo001,foo002.....foo999, etc.

on my system I have a program called g.mremovem which does what you
want.

btw: does this script not have a manual page?!

cheers
  stephan


-- 
--------------------------------------
Stephan Holl
GnuPG Key-ID: 11946A09
ICQ# 117277975 
--------------------------------------

--=.EbDKgiORjLxWGd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a6aDEg9SKhGUagkRAnrOAKCVl8Rle8vmECEQUJSxfxcZHPlHMwCeNxT2
uhY1yFQOMpeKSt81GnBbzvM=
=YnkR
-----END PGP SIGNATURE-----

--=.EbDKgiORjLxWGd--


Tue, Aug 27 2002 18:25:34    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 27 Aug 2002 18:25:31 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1246] (grass) g.remove with wildcards, please
Message-ID <20020827182531.C5713@itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20020827161208.4C7B713AAF@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <20020827161208.4C7B713AAF@lists.intevation.de>; from grass-bugs@intevation.de on Tue, Aug 27, 2002 at 06:12:08PM +0200
X-Spam-Status No, hits=-4.3 required=5.0 tests=IN_REP_TO,SUBJ_REMOVE version=2.20
X-Spam-Level
On Tue, Aug 27, 2002 at 06:12:08PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1246
> -------------------------------------------------------------------------
> 
> Subject: g.remove with wildcards, please
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0pre4
> 
> Wildcards such as ?/* would be really handy when dealing with massive data
clearing efforts in GRASS.
> For example, g.remove rast=foo??? would allow to get rid of foo001,foo002.....foo999,
etc.
> 

Hi Peter,

g.mremove is your friend.

g.mremove rast="foo.*"

Ciao

 Markus


Tue, Aug 27 2002 18:29:59    Mail sent by guest  
there is g.mremove as well as g.mlist (see p.35 of GRASSbook) that
allow wildcards
However, these commands are missing from the GRASS5 man page
(and we forgot to put them into index too), so people don't really know
about them.

Helena
Tue, Oct 8 2002 09:47:47    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request