This commit is contained in:
Hekuran 2020-07-06 13:51:19 +02:00 committed by GitHub
parent e52b402dc8
commit f7f937c586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ curl -sf "$city" | \
echo "🌄 Sunrise" > $sunfile
echo "$( grep Sunrise $sundata | grep -o "[[:digit:]]""[[:digit:]]":"[[:digit:]]""[[:digit:]]" )" >> $sunfile
echo "$( grep Sunrise $sundata | grep -o "direction.\{10\}" | sed 's/direction // ; s|">.</||' )" >> $sunfile
echo "$( grep Sunrise $sundata | grep -o "direction.\{10\}" | sed 's/direction // ; s|">.<*||' )" >> $sunfile
echo "$( grep Sunrise $sundata | grep -o "[0-9]*°" )" >> $sunfile
echo "\n🌇 Sunset" >> $sunfile