1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

They changed the coronastats layout again

This commit is contained in:
Ryan Kes 2020-03-25 09:41:42 +01:00
parent 0c5e4a72fc
commit ec6fbc35d3

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh #!/usr/bin/env sh
curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $3, "💀" $5"%", $6$7, $8$9 }' curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $4, "💀" $5, "" $7, "ﯭ"$8 }'