Commit Diff
--- /dev/null +++ weatherbar.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo "Must specify location!" > /dev/stderr + + exit 1; +fi + +ftp -Vo - "https://wttr.in/${1}?u&format=1" 2> /dev/null +
--- /dev/null +++ weatherbar.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo "Must specify location!" > /dev/stderr + + exit 1; +fi + +ftp -Vo - "https://wttr.in/${1}?u&format=1" 2> /dev/null +