use grep & awk to get ed2k links in the webpage

in cygwin

grep "href=\"ed2k" c.htm |awk -F '\"' '{print $2}' >ed2k.txt

posted @ 2014-10-21 13:04  mfrbuaa  阅读(170)  评论(0编辑  收藏  举报