#! /bin/sh
echo "SHELL: $SHELL"
echo "shell: $shell"
echo "BASH: $BASH"
echo "BASH_VERSION: $BASH_VERSION"
echo "KSH_VERSION: $KSH_VERSION"
echo "ZSH_VERSION: $ZSH_VERSION"
echo "ps: "
ps -p $$
echo "pwd: [$PWD]"
echo "arg0: [$0]"
base=`dirname $0`
echo "base: [$base]"
set -x
cd "$base" || exit 1
pwd
