#!/usr/bin/sh # run vim if available if test -f /usr/libexec/vim then exec /usr/libexec/vim "$@" fi # run vi otherwise exec /usr/libexec/vi "$@"