function whois() { WHOIS=/usr/bin/whois if [[ ${1##*.} == 'dk' ]]; then $WHOIS -h whois.dk-hostmaster.dk " --show-handles $1" else $WHOIS $1 fi }