#!/bin/bash EMACS=`which emacs || which xemacs` exec $EMACS -nw "$@"