💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › wttr.sh.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

wttr.sh - dotfiles - Collection of my dotfiles

Log

Files

Refs

---

wttr.sh (123B)

---

1 #! /bin/sh

2 WTTR="https://wttr.in"

3 CITY="$1"

4 if [ -z "$2" ]

5 then

6 curl -sL "$WTTR/$CITY"

7 else

8 curl -sL "$WTTR/$CITY,$2"

9 fi

generated w/ stagit-gemini