6 lines
88 B
Bash
Executable File
6 lines
88 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
readonly city="${1}"
|
|
curl "wttr.in/${city}" 2>/dev/null | head -n -1
|