1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
317 B
Bash

#!/bin/bash
echo "Your ZIP code : \`B444\`<username\`94107>\`b"
echo " \`!\`[submit\`:/page/weather.sh\`username|two]\`!."
if [ "$field_username" = "" ]; then
echo "No zip code input yet: defaulting to '94107'..."
echo " "
curl -s https://wttr.in/94107?TFn
else
curl -s https://wttr.in/$field_username?TFn
fi