#!/bin/sh APP=xfig if [ $# -eq 2 ] ; then $APP "$2" & else $APP & fi