SHARE
TWEET

Untitled

a guest Apr 20th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. function wttr(){
  3.   if [ -z "$2" ]
  4.    then
  5.      curl -s "wttr.in/$1?0"
  6.    else
  7.      curl -s "wttr.in/$1?$2"
  8.   fi
  9. }
  10.  
  11. wttr Brighton format='%c+%t+%w'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top