首页 > 其他 > 详细

sed

时间:2015-09-21 15:37:46      阅读:267      评论:0      收藏:0      [点我收藏+]

 

<html>
<head>
<title>This is the page title</title>
</head>
<body>
This is the <b>dirst</b> line in the web page. This should provied
some<i>userfu;</i> information for us to use in our shell script
</body>
</html>

 

sed ‘s/<[^>]*>//g;/^$/d‘ data10

 

This is the page title
This is the dirst line in the web page. This should provied
someuserfu; information for us to use in our shell script

 

sed

原文:http://www.cnblogs.com/jacson/p/4826190.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!