#!/bin/sh
exec run-mailcap --action=edit `file -b -i "$1"|cut -f 1 -d ";"`:"$1" > /dev/null
