[GRASS-SVN] r39087 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 8 18:38:52 EDT 2009


Author: hamish
Date: 2009-09-08 18:38:51 -0400 (Tue, 08 Sep 2009)
New Revision: 39087

Modified:
   grass/trunk/tools/module_synopsis.sh
Log:
a little more menu loc'n (html)

Modified: grass/trunk/tools/module_synopsis.sh
===================================================================
--- grass/trunk/tools/module_synopsis.sh	2009-09-08 22:07:57 UTC (rev 39086)
+++ grass/trunk/tools/module_synopsis.sh	2009-09-08 22:38:51 UTC (rev 39087)
@@ -110,7 +110,7 @@
 	BUFF="$MODULE: $label"
     fi
     if [ -n "$MODULE_MENU_LOC" ] ; then
-        BUFF="$BUFF [$MODULE_MENU_LOC]"
+        BUFF="$BUFF {$MODULE_MENU_LOC}"
     fi
     if [ -n "$BUFF" ] ; then
        echo "$BUFF" >> "$TMP"
@@ -243,7 +243,9 @@
     grep "^${SECTION}\." "${TMP}.txt" | \
       sed -e 's/: /| /' -e 's/^.*|/<li> <a href="&.html">&<\/a>:/' \
 	  -e 's/|.html">/.html">/' -e 's+|</a>:+</a>:+' \
-	  -e 's/&/\&amp;/g' >> "${TMP}.html"
+	  -e 's/&/\&amp;/g' \
+	  -e 's+ {+\n     <BR><i>+' -e 's+}+</i>+' \
+	  -e 's+ > + \&rarr; +g'  >> "${TMP}.html"
 
     if [ "$SECTION" = "i" ] ; then
 	# include imagery photo subsection



More information about the grass-commit mailing list