Update.
[scripts.git] / html2text.sh
index 8c29b10..fe10cc0 100755 (executable)
@@ -1,20 +1,28 @@
 #!/bin/bash
 
-##################################################################
-# START_IP_HEADER                                                #
-#                                                                #
-# Written by Francois Fleuret                                    #
-# Contact <francois.fleuret@idiap.ch> for comments & bug reports #
-#                                                                #
-# END_IP_HEADER                                                  #
-##################################################################
+#########################################################################
+# This program is free software: you can redistribute it and/or modify  #
+# it under the terms of the version 3 of the GNU General Public License #
+# as published by the Free Software Foundation.                         #
+#                                                                       #
+# This program is distributed in the hope that it will be useful, but   #
+# WITHOUT ANY WARRANTY; without even the implied warranty of            #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      #
+# General Public License for more details.                              #
+#                                                                       #
+# You should have received a copy of the GNU General Public License     #
+# along with this program. If not, see <http://www.gnu.org/licenses/>.  #
+#                                                                       #
+# Written by and Copyright (C) Francois Fleuret                         #
+# Contact <francois@fleuret.org> for comments & bug reports             #
+#########################################################################
 
 set -e
 
 echo "(From html)"
+echo
 
 elinks -no-numbering -no-references -dump -dump-width 80 -dump-charset utf-8 | \
     sed -e "s/\[IMG\]//g" -e "s/^[ \t]*$//" -e "s/^    //" | \
     awk '/^$/{ if (! blank++) print; next } { blank=0; print }'
- # | \
-    # sed -e "s/^ *//"
+