<a href="http://food.groad.net/a/201212/1873068.html">糯米红枣薏米粥可治神经衰弱</a></li><li class="date">2012-1-2</li><li><a href="http://food.goad.net/a/201211/1872179.html">常吃深绿叶菜延缓大脑衰老</a></li><li class="date">2012-1-1</li><li><a href="http://food.39.net/a/20111228/1871404.html">冬季养生:常吃6类“抗感菜”提高免疫力</a></li><li class="date">2011-12-28</li><li>
cat urlist.txt |sed 's/<a href="//g'
http://food.groad.net/a/201212/1873068.html">糯米红枣薏米粥可治神经衰弱</a></li><li class="date">2012-1-2</li><li><a href="http://food.goad.net/a/201211/1872179.html">常吃深绿叶菜延缓大脑衰老</a></li><li class="date">2012-1-1</li><li>http://food.39.net/a/20111228/1871404.html">冬季养生:常吃6类“抗感菜”提高免疫力</a></li><li class="date">2011-12-28</li><li>
cat urlist.txt |sed 's/<a href="//g' | sed 's/\">/ /g'
http://food.39.net/a/201212/1873068.html 糯米红枣薏米粥可治神经衰弱</a></li><li class="date 2012-1-2</li><li>http://food.39.net/a/201211/1872179.html 常吃深叶菜延缓大脑衰老</a></li><li class="date 2012-1-1</li><li>
cat urlist.txt |sed 's/<a href="//g' | sed 's/\">/ /g' | sed 's/<li>/ /g' |awk -F " " '{i=1; while(i < NF){ print $i; i++}}'
http://food.39.net/a/201212/1873068.html
糯米红枣薏米粥可治神经衰弱</a></li><li
class="date
2012-1-2</li>
http://food.39.net/a/201211/1872179.html
常吃深绿叶菜延缓大脑衰老</a></li><li
class="date
2012-1-1</li>
cat urlist.txt |sed 's/<a href="//g' | sed 's/\">/ /g' | sed 's/<li>/ /g' |awk '{i=1; while(i < 100){ print $i; i++}}' |grep -E 'http:.*'
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |