Hallo zusammen, ich bräuchte eine kleine Hilfe.
Ich möchte mir ein Script bastelt, was mir die aktuellen Lottozahlen anzeigt, funzt auch schon, doch allerdings bekomme ich störende zeichen am OSD. ( Kann das mal jemand testen) und mir ein Tip geben, das ganze zu Modifizieren ??
Ich möchte das ganze dann noch weiterführen, für ODDSET, und KENO.
Vielen Dank im vorraus.
Eintrag in /etc/vdr/commands.conf :
Lottozahlen: /scripts/lotto/lotto.sh
lotto.sh skript :
ZitatAlles anzeigen#!/bin/bash
#
# Lottozahlenanzeige
# Bildschirm leeren
clear
# Lottozahlen downloaden, und umwandeln
lynx http://www.dielottozahlen.de --dump > /tmp/lotto.html
# Zeilen Bestimmen
#head -n42 /tmp/lotto.html | tail -n7 > /tmp/lotto
sed -e 1,35D -e 44,288D /tmp/lotto.html > /tmp/lottoneu
cat /tmp/lottoneu
gruß chrisz
EDIT: Die Formatierung funzt auch noch nicht so richtig.:wow