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