Use bash strict mode in most shell scripts
This commit is contained in:
parent
8ca04dec25
commit
e0c33b01b7
28 changed files with 112 additions and 28 deletions
|
|
@ -1,4 +1,7 @@
|
|||
#! /usr/bin/sh
|
||||
#! /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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue