FYI ... $ echo $SHELL; if [ 'a' == 'a' ]; then echo 'yes'; fi /bin/bash yes Rafal -- Always listen to experts. They'll tell you what can't be done and why. Then do it. -- Robert A. Heinlein