Parcourir la source

mention case trick; more reasonable example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33833 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler il y a 16 ans
Parent
commit
0c42ed2ac9
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      general/manage/cmd/g.rename.html

+ 13 - 1
general/manage/cmd/g.rename.html

@@ -52,11 +52,23 @@ state that no rename is needed.  However, <em>g.rename</em>
 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>