2023-05-09 10:42:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-05-30 03:34:10 +00:00
|
|
|
if [ "$1" == "html" ] || [ "$1" == "HTML" ]; then
|
|
|
|
word=${2:-$(sselp)}
|
2023-05-30 14:00:01 +00:00
|
|
|
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup
|
2023-05-28 11:15:50 +00:00
|
|
|
else
|
2023-05-30 03:34:10 +00:00
|
|
|
word=${1:-$(sselp)}
|
2023-05-30 14:00:01 +00:00
|
|
|
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup
|
2023-05-28 11:15:50 +00:00
|
|
|
fi
|
2023-05-30 03:34:10 +00:00
|
|
|
|