9 lines
103 B
Plaintext
9 lines
103 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
if ! [[ -n $1 ]]; then
|
||
|
loc="Cowley,UK"
|
||
|
else
|
||
|
loc=$1
|
||
|
fi
|
||
|
|
||
|
curl wttr.in/$loc?u
|