[GRASS-SVN] r37553 - grass/trunk/raster/r.mapcalc

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 27 20:44:22 EDT 2009


Author: glynn
Date: 2009-05-27 20:44:22 -0400 (Wed, 27 May 2009)
New Revision: 37553

Modified:
   grass/trunk/raster/r.mapcalc/r.mapcalc.html
Log:
Replace (broken) character references
 (g.html2man.py doesn't even support non-broken references).


Modified: grass/trunk/raster/r.mapcalc/r.mapcalc.html
===================================================================
--- grass/trunk/raster/r.mapcalc/r.mapcalc.html	2009-05-28 00:42:37 UTC (rev 37552)
+++ grass/trunk/raster/r.mapcalc/r.mapcalc.html	2009-05-28 00:44:22 UTC (rev 37553)
@@ -546,17 +546,18 @@
         r.mapcalc "$GIS_OPT_OUTPUT.g = g#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * g#$GIS_OPT_SECOND"
         r.mapcalc "$GIS_OPT_OUTPUT.b = b#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * b#$GIS_OPT_SECOND"
 </pre></div>
+<p>
 use:
 <div class="code"><pre>
-		r.mapcalc &#60&#60EOF
+	r.mapcalc &lt;&lt;EOF
         $GIS_OPT_OUTPUT.r = r#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * r#$GIS_OPT_SECOND
         $GIS_OPT_OUTPUT.g = g#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * g#$GIS_OPT_SECOND
         $GIS_OPT_OUTPUT.b = b#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * b#$GIS_OPT_SECOND
         EOF
 </pre></div>
+<p>
 as the latter will read each input map only once.
-</p>
-
+<p>
 For formulas that the user enters from standard input
 (rather than from the command line), a line continuation feature now exists.
 If the user adds \e to the end of an input line, <em>r.mapcalc</em> assumes that



More information about the grass-commit mailing list