Why do people still do this. Which shell still cannot handle an empty string? Which manufacturer ships it? Come on, name names. if [ "x$1" = "x" ]; then ... if [ "$1" = "" ]; then Try this in a file, with bash ksh pdksh .... If it fails, ask for your money back blnk="" if [ "$blnk" = "" ] then echo same else echo diff fi Graham