#bash alias to print the definition(s) of an english word:
defineWord() {
curl -s "https://api.dictionaryapi.dev/api/v2/entries/en/$1" | jq '.[] | .meanings[] | .definitions[] | .definition'
}
alias def="defineWord"
$ def something
"An object whose nature is yet to be defined."
(...)
Samuel
in reply to linus • • •