From d9e72f756d676d440d3f25e8495a41c959e8c154 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Sun, 22 Oct 2023 11:38:17 +0200 Subject: [PATCH] Fix space --- udict | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' |