diff --git a/udict b/udict index 77f9747..8d2a504 100755 --- a/udict +++ b/udict @@ -5,7 +5,7 @@ term="$@" -term="$(printf '%s\n' "${term}" | sed 's/ /\\/g' )" +term="$(printf '%s\n' "${term}" | sed 's/ /\\/g')" curl -s "https://api.urbandictionary.com/v0/define?term=${term}" | jq -r '.list[0] | .word, .definition' |