bin/scripts/define
#!/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)'