#!/bin/bash # die sed zeile wandelt html breaks in shell breaks um ;) # damit das greppen klappt while true; do wget -q -O - http://www.fireball.de/livesuche/index.html \ | grep "Klicken Sie auf eine Anfrage" \ | sed s#\#\\n#g \ | grep "http://suche.fireball.de/cgi-bin/pursuit?query=" \ >> fireballsuchbegriffe.txt sleep 10 done