[GRASS-SVN] r39060 - grass/trunk/tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 7 06:27:07 EDT 2009
Author: martinl
Date: 2009-09-07 06:27:06 -0400 (Mon, 07 Sep 2009)
New Revision: 39060
Removed:
grass/trunk/tools/g51.extract_description.sh
Log:
remove out-dated and unused shell script
Deleted: grass/trunk/tools/g51.extract_description.sh
===================================================================
--- grass/trunk/tools/g51.extract_description.sh 2009-09-07 08:01:07 UTC (rev 39059)
+++ grass/trunk/tools/g51.extract_description.sh 2009-09-07 10:27:06 UTC (rev 39060)
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-#fetch the description stuff from HTML pages for 5.7
-
-GRASS57=$HOME/grass57
-
-########################
-
-if [ $# -ne 2 ] ; then
- echo g51.extract_description.sh /path/to/grass53src htmlfile
- exit
-fi
-
-PATHGRASS50="$1"
-
-FILE=$PATHGRASS50/html/html/$2.html
-
-CUTLINE="`grep -ni '<H2>DESCRIPTION' $FILE | cut -d':' -f1`"
-if [ "$CUTLINE" == "" ] ; then
- echo "ERROR: no <H2>DESCRIPTION</H2> present in html file"
- exit
-fi
-
-TOTALLINES=`wc -l $FILE | awk '{print $1}'`
-FROMBOTTOM=$(( $TOTALLINES - $CUTLINE ))
-
-echo "<H2>DESCRIPTION</H2>" > description.html
-echo "" >> description.html
-tail -$FROMBOTTOM $FILE | grep -vi '</body>' | grep -vi '</html>' >> description.html
More information about the grass-commit
mailing list