#! /bin/sh if echo "$1" | grep -q "^mailto:" ; then kmailservice "$1" & else kfmclient exec "$1" & fi