mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Use regular url as minimal one doesn't work if there are empty columns
This commit is contained in:
parent
349e8b0f2e
commit
df04034069
@ -1,3 +1,3 @@
|
||||
#!/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 "😷" $4, "💀" $7, "" $11, "ﯭ"$12 }'
|
||||
curl --silent "https://corona-stats.online/Netherlands" | sed -n '4p' | sed 's/\x1b\[[0-9;]*m//g' | sed 's/[\ \t]//g' | awk -F '│' '{ print "😷" $3, "💀" $5, "" $8, "ﯭ"$9 }'
|
||||
|
Loading…
Reference in New Issue
Block a user