scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

dict (240B)


      1 #!/bin/sh
      2 case "$(basename $0)" in
      3 cheat)
      4 	curl -s "http://cheat.sh/$1"
      5 	;;
      6 dict)
      7 	term="$*"
      8 	curl -s dict://dict.org/d:"'$term'"
      9 	;;
     10 urban)
     11 	term="$*"
     12 	curl -s dict://parazyd.org/d:"'$term'"
     13 	;;
     14 wttr)
     15 	curl -s "http://wttr.in/$1"
     16 	;;
     17 esac