improve formating

This commit is contained in:
Konstantin 2023-05-30 10:00:01 -04:00 committed by GitHub
parent 3c62cf179a
commit 4376a1a22a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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