7 lines
211 B
Bash
Executable file
7 lines
211 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
# Documentation available in https://github.com/chubin/wttr.in
|
|
curl --http1.1 --show-error --silent 'https://wttr.in/?0&m&q&T&format=3' > /tmp/weather-report.txt
|