#!/bin/bash ############################################################################## # # # html2txt, (C) 2007-2010 S. Georgaras # # # # This file is part of Clonezilla-SysRescCD. # # # # Clonezilla-SysRescCD is free software: you can redistribute it and/or # # modify it under the terms of the GNU General Public License as published # # by the Free Software Foundation, either version 2 of the License, or # # (at your option) any later version. # # # # Clonezilla-SysRescCD 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 Clonezilla-SysRescCD. If not, see . # # # ############################################################################## # Go to working/ directory cd .. rm ../2doc/README.txt 2>/dev/null touch ../2doc/README.txt for n in usb.html \ boot-params.html \ clonezilla.html \ backup.html \ backup-smb.html \ restoration.html \ restore.html \ restore-burn.html \ reloc-img.html \ supergrubdisk.html \ oldboot.html \ sysresccd.html \ partitions.html \ recover.html \ own-scripts.html \ annex-a-devices.html \ basic-vi.html #for n in restoration.html do cat "$n" | tr -d '\r'|sed '/^[ ][ ]*$/s/// 1,/
/{ /<[hH]3>/!d s|<[hH]3>|[H3]|g } /^[ ][ ]*$/d /