[GRASS-SVN] r33834 - grass/branches/develbranch_6/general/manage/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 12 02:55:55 EDT 2008


Author: neteler
Date: 2008-10-12 02:55:55 -0400 (Sun, 12 Oct 2008)
New Revision: 33834

Modified:
   grass/branches/develbranch_6/general/manage/cmd/g.rename.html
Log:
mention case trick; more reasonable example (merge from trunk)

Modified: grass/branches/develbranch_6/general/manage/cmd/g.rename.html
===================================================================
--- grass/branches/develbranch_6/general/manage/cmd/g.rename.html	2008-10-12 06:54:34 UTC (rev 33833)
+++ grass/branches/develbranch_6/general/manage/cmd/g.rename.html	2008-10-12 06:55:55 UTC (rev 33834)
@@ -52,11 +52,23 @@
 will allow the user to overwrite other existing files in
 the current mapset by making the <em>new</em> file name
 that of an already existing file.
+<p>
+For portability reasons, <em>g.rename</em> is ignoring case of
+names. To change the case of a map name, first rename the map
+to a name which differs by more than case, then rename it to
+the intended name.
 
 <h2>EXAMPLE</h2>
 
 <div class="code"><pre>
-g.rename rast=oldrast,newrast vect=oldvect51,newvect51 oldvect=oldvect50,newvect50
+# rename raster map
+g.rename rast=oldrast,newrast
+
+# rename vector map
+g.rename vect=oldvect,newvect
+
+# combined renaming
+g.rename rast=oldrast,newrast vect=oldvect,newvect
 </pre></div>
 <h2>SEE ALSO</h2>
 



More information about the grass-commit mailing list