~dricottone/my-utils

ref: b29d2b4a9bcb2e3b35c41e5dbb43d6e031999a06 my-utils/weather -rwxr-xr-x 234 bytes
b29d2b4aDominic Ricottone Restarting with fresh commit history 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# weather
# =======
# Usage weather [NUMBER]
#
# Wrapper aroung `wego`. Show weather for 2 days unless a number is specified.
# Location should be set in `$WEGORC`.

wego ${1:-2} | sed -e 's/[↘↗↖↙]/ &/g' -e '2,7d'