SHARE
TWEET

Untitled

a guest Aug 3rd, 2013 48 Never
  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
RAW Paste Data
Top