⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 html2txt.sed

📁 网上下到的一个很详细介绍VPN基础知识的资料
💻 SED
字号:
# skip over header material# Copyright (C) 1999  Sandy Harris.# # This program 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.  See <http://www.fsf.org/copyleft/gpl.txt>.# # 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.## RCSID $Id: html2txt.sed,v 1.1 2001/01/29 01:18:07 sandy Exp $/<head>/,/<\/head>/d/<HEAD>/,/<\/HEAD>/d/<^body$>/ds/<body>//# eliminate possible DOS cruds/\015//#get rid of HTML commentss/<!--.*-->///<!--/,/-->/d# citations & emphasis -> visibles/<cite>/"/gs/<\/cite>/"/gs/<em>/*/gs/<\/em>/*/gs/<strong>/!->/gs/<\/strong>/<-!/gs/<b>//gs/<\/b>//gs/<blockquote>/Quote -->/s/<\/blockquote>/<-- End Quote/# mark headerss/<h1>/Header 1:  /s/<h2>/Header 2:  /s/<h3>/Header 3:  /s/<h4>/Header 4:  /s/<h5>/Header 5:  /s/<h6>/Header 6:  /# remove some crufts/<\/h[1-6]>///^<a name=[a-zA-Z0-9\.]*>$/ds/<a name=[a-zA-Z0-9\.]*>//# definition listss/<dl>//s/<\/dl>//s/^<dt>$/-----------------------------------------/s/^<dt>/-----------------------------------------\/s/<dd>/\/# other types of listss/<li>//s/<ol>//s/<ul>//s/<\/ol>//s/<\/ul>//# tabless/<table>//s/<\/table>//s/<tr>//s/<td>/	/g# line break and paragraph markers# different subst depending where they are in lines/^<br>//s/<br>$//s/<br>/\/s/^<p>$//s/<p>$/\/s/^<p>/\/s/<p>/\\/s/<\/p>//# remove more crufts/<pre>//s/<\/pre>//s/<\/body>//s/<\/html//s/<\/BODY>//s/<\/HTML>//

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -