Code:
#!/bin/sh
IFS=`echo -e "\n\r"`
for I in `cut -f1 $1`
do
source="[URL unfurl="true"]http://startsiden.no/sport/nyheter/"[/URL]
echo "Kilde: $source"
lynx -dump $source > /tmp/nyhet
hva=$(cat /tmp/nyhet |grep $I | cut -d'.' -f1 | sed -e s/\ //g)
for nr in $hva; do
over=$(cat /tmp/nyhet | grep -G "\W$nr\W" | head -n 1| cut -d']' -f2)
url=$(cat /tmp/nyhet | grep -G "\W$nr\W" | tail -n 1 | cut -d' ' -f4)
echo "<a href=\"$url\">$over</a><br>"
done
done
rm /tmp/nyhet
help in c witht that?