How does one use g.mremove. I have recompiled 5.3 and 5.7 after cvs up -dP today, and thought that its use and syntax were similar to g.remove. However, I am getting a "command not found" error when I attempt to run is from the command line (g.mremove -help yields nothing as well). Is g.mremove something separate or require some kind of compile option?
Thanks,
Kikrk
Kirk R. Wythers wrote:
How does one use g.mremove. I have recompiled 5.3 and 5.7 after cvs up
-dP today, and thought that its use and syntax were similar to
g.remove. However, I am getting a "command not found" error when I
attempt to run is from the command line (g.mremove -help yields nothing
as well). Is g.mremove something separate or require some kind of
compile option?
No, it's just a script (src/scripts/contrib/g.mremove).
Were there any errors in error.log after compiling?
--
Glynn Clements <glynn.clements@virgin.net>
Hello,
I did some work for adding parser support to some scripts for 5.7. Marcus Neteler asked me to work on g.mremove because it is quite handy.
I attach to this mail the script for 5.7... no need to recompile anything, just copy it in your script directory ($GISBASE/scripts).
ATTENTION: you can call it with g.mremove and in this case you get a GUI which is fine BUT before deleting it asks you "are you sure?" and waits for a yes or no answer... problem is that the GUI does not take user input at that point, so you get stuck. SOLUTION: either use the flag "force" by selecting the button on the GUI, but then you don't have a second chance, or run it from the terminal with - g.mremove rast='<whateveryourpatternis>'
Please test it and let me know if it works or if it has problems.
Ciao
At 02.40 06/02/2004 +0000, you wrote:
Kirk R. Wythers wrote:
> How does one use g.mremove. I have recompiled 5.3 and 5.7 after cvs up
> -dP today, and thought that its use and syntax were similar to
> g.remove. However, I am getting a "command not found" error when I
> attempt to run is from the command line (g.mremove -help yields nothing
> as well). Is g.mremove something separate or require some kind of
> compile option?
No, it's just a script (src/scripts/contrib/g.mremove).
Were there any errors in error.log after compiling?
--
Glynn Clements <glynn.clements@virgin.net>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 26/01/2004
(attachments)
g.mremove (3.5 KB)