Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 3rd, 2013  |  syntax: Bash  |  size: 0.30 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. export urlbase="http://last-names.net/origincat.asp";
  2. export url="http://last-names.net/origincat.asp?origincat=";
  3. for cntry in $(curl --silent http://last-names.net/ | grep -o "=[A-Z]\w*>" | sed 's/[>=]//g');
  4.         do curl --silent $url$cntry | grep -o "surname=.\">" | sed 's/[.=]//g' | sed 's/">//g' ;
  5. done
clone this paste RAW Paste Data