#!/bin/sh if [ "$1" == "" ]; then exec $EDITOR . else exec $EDITOR $1 fi