[Eisfair_dev] [E1] Programmier Hilfe
Andreas Lehmler
wuddy at nexgo.de
Mo Mai 4 18:49:52 CEST 2015
Hallo NG,
ich hatte auf dem E2 ein Script laufen
Auszug
***
cd /tmp
wget http://checkip.DYNDNSADRESSE.org/
grep [:numeric:] /tmp/index.html | tr -d '[:alpha:] [:space:] [:cntrl:]
<>:/' >/tmp/ip-new
ip=`</tmp/ip-new`
#cp /tmp/ip-new /tmp/inadyn_ip.cache
rm index.html
echo "***"
echo "ENDE"
echo "***"
***
Auf dem E1 bekomme ich beim Ablauf des Scriptes aber immer noch eine
Fehlermeldung
---
2015-05-04 15:05:15 (8.92 MB/s) - 'index.html' saved [104/104]
/usr/bin/in.grep: character class syntax is [[:space:]], not [:space:]
***
ENDE
***
---
Was muß ich ändern, damit die Fehlermeldung weg ist ?
Gruß
Andreas
Mehr Informationen über die Mailingliste Eisfair_dev