Advertisement
flycat

Extract all HTML links from text

Oct 6th, 2011
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. # Выкусить все ссылки из текста
  2. awk -vRS="</a>" 'RT{ gsub(/.*href=/,"");gsub(/\n+|\042|>.*/,"");print }' file
  3.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement