--- trunk/www/working/scripts/html2html 2010/05/20 15:43:26 49 +++ trunk/www/working/scripts/html2doc 2010/05/20 17:17:28 55 @@ -1,7 +1,7 @@ #!/bin/bash ############################################################################## # # -# html2txt, (C) 2007-2010 S. Georgaras # +# html2doc, (C) 2007-2010 S. Georgaras # # # # This file is part of Clonezilla-SysRescCD. # # # @@ -71,9 +71,16 @@ s{^[ \t]*Help{{ s{^[ \t]*Screenshots{{ s{[hH][rR][Ee][fF]="README.html"{href="../README.html"{g +s{>Documentation<{>Offline Documentation<{ +s{Documentation:{Offline Documentation:{ +/
/ , /<.div>/ d +/
doc/"$n" rm "$n" done + + +# Fixing README.html sed ' s{[hH][rR][Ee][fF]="\.\./README.html"{href="README.html"{g s{<[aA] [hH][rR][Ee][fF]="\([^"]*\)">\([^<]*\)<[bB][rR][^>]*>{\2
{ @@ -82,7 +89,6 @@ / -s{>Documentation<{>Offline Documentation<{ ' doc/README.html > README.html rm doc/README.html