[GRASS5] saving command line meta-data for raster maps

Hamish hamish_nospam at yahoo.com
Tue Dec 20 01:56:40 EST 2005


> On Oct 31, 2005, at 1:10 AM, I wrote:
http://thread.gmane.org/gmane.comp.gis.grass.devel/9372

Added G_command_history(), for appending the (parsed) command line to
newly created raster maps' history files.

e.g r.patch badly needed this meta-info as you had no record of what went
into it after the .bash_history had faded.

also removed G_edit_history() from gisdefs.h as AFAICT it doesn't exist
in GRASS 5 or 6.

updated r.in.mat, r.patch, r.series, r.sun to use G_command_history().


hopefully it isn't too buggy,
Hamish




More information about the grass-dev mailing list