diff --git a/bin/spell b/bin/spell index 16aaef59..ad85582c 100755 --- a/bin/spell +++ b/bin/spell @@ -12,7 +12,7 @@ result=$(echo "$@" | aspell -a | tail -n-2) if [[ "$result" == '*' ]]; then echo "$@" else - words=$(echo "$result" | sed 's/[:,] /\n/g' | tail -n +2) + words=$(echo "$result" | sed $'s/[:,] /\\\n/g' | tail -n +2) if (( $(wc -l <<< "$words") > 1 )) && command -v 'fzf' >/dev/null; then fzf <<< "$words" else