shell-utils/app/forecast

9 lines
103 B
Bash
Executable File

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