#!/bin/sh
# A script that executes programs in an xterm and prompts
# to hit RETURN when the program quits, to give the
# user the chance to see any outputs from the
# program befor the xterm disappears !
# Author : Haykel Ben Jemia <haykel@CS.TU-Berlin.DE>
#

if [ "$#" = "0" ]; then
	exit
fi

COMM=$1
shift

$COMM $*

echo "[Press RETURN]"
read foo

