#!/bin/sh PROG_PATH=`dirname $0` PROG_ME=`basename $0` DIR_NEW=`$PROG_PATH/x2where` echo "Entering directory '$DIR_NEW' and spawning a new shell:" cd $DIR_NEW $SHELL