in cygwin

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

05-11 13:25