[GRASS-dev] g.version message change?

Hamish hamish_nospam at yahoo.com
Sat Jun 2 03:52:21 EDT 2007


Hi,

any objections to this patch?  (script breakage....)


Index: grass6/general/g.version/main.c
===================================================================
RCS file: /grassrepository/grass6/general/g.version/main.c,v
retrieving revision 2.5
diff -u -r2.5 main.c
--- grass6/general/g.version/main.c     19 Aug 2006 12:52:20 -0000      2.5
+++ grass6/general/g.version/main.c     2 Jun 2007 07:51:49 -0000
@@ -44,7 +44,7 @@
     if (argc > 1 && G_parser(argc, argv))
        exit(EXIT_FAILURE);
 
-    fprintf (stdout, "GRASS %s (%s) %s\n",
+    fprintf (stdout, "GRASS GIS %s (%s) %s\n",
        GRASS_VERSION_NUMBER, GRASS_VERSION_DATE, GRASS_VERSION_UPDATE_PKG );
     
     if (copyright->answer){




I'd like to include `g.version` in a script, and it reads better
with the "GIS" in there.


Hamish




More information about the grass-dev mailing list