[GRASS-SVN] r72442 - grass-addons/grass7/general/g.compare.md5
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Mar 20 13:00:20 PDT 2018
Author: neteler
Date: 2018-03-20 13:00:20 -0700 (Tue, 20 Mar 2018)
New Revision: 72442
Modified:
grass-addons/grass7/general/g.compare.md5/g.compare.md5.html
Log:
g.compare.md5 addon manual: fix examples (completes r50625)
Modified: grass-addons/grass7/general/g.compare.md5/g.compare.md5.html
===================================================================
--- grass-addons/grass7/general/g.compare.md5/g.compare.md5.html 2018-03-20 19:53:40 UTC (rev 72441)
+++ grass-addons/grass7/general/g.compare.md5/g.compare.md5.html 2018-03-20 20:00:20 UTC (rev 72442)
@@ -1,6 +1,6 @@
<h2>DESCRIPTION</h2>
-<em>g.md5sum</em> is a module that checks if two GRASS maps are identical.
+<em>g.compare.md5</em> is a module that checks if two GRASS maps are identical.
It uses the MD5 cryptographic hash function. For vector map layers it
does not check if the attribute table(s) are identical, too.
@@ -13,16 +13,16 @@
g.copy raster=elevation,dem
# now check and return TRUE
-g.md5sum ain=elevation bin=dem
+g.compare.md5 ainput=elevation binput=dem
# now change the color table
r.colors map=dem color=srtm
# check again and it should return FALSE
-g.md5sum ain=elevation bin=dem
+g.compare.md5 ainput=elevation binput=dem
# but when adding the -c flag (ignore color table), TRUE is returned
-g.md5sum -c ain=elevation bin=dem
+g.compare.md5 -c ainput=elevation binput=dem
</pre></div>
<h2>AUTHOR</h2>
More information about the grass-commit
mailing list