If you want to know if you're running in bash, you can test for the
variable BASH_VERSION.

--------------------------------

if [ ! -z $BASH_VERSION ]; then
   echo "I am running in bash"
   exit
fi

echo "I am running in sh"

--------------------------------

--
Burton Samograd


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hbr5e8gfn6....@rex.userful.ca

Reply via email to