remove useless lines

This commit is contained in:
Konstantin 2023-05-30 17:00:41 -04:00 committed by GitHub
parent 4376a1a22a
commit 9dcfeb394c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,6 @@
#!/bin/sh
if [ "$1" == "html" ] || [ "$1" == "HTML" ]; then
word=${2:-$(sselp)}
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup
else
word=${1:-$(sselp)}
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup
fi
word=${1:-$(sselp)}
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup