all repos — dotfiles @ 174e1456c508e464bcbceebc6b48ce4aff245caa

linux dotfiles

bin/scripts/define

1 2 3 4 5 6
#!/usr/bin/bash
# usage $./define word
# will return the meaning of the word in a json format

URL="https://googledictionaryapi.eu-gb.mybluemix.net/?define="$1"&lang=en"
curl -s $URL | jq '.[]|del(.pronunciation)'