bash space for test 

space for test 

:~/bin$ if [ "a" = "a" ] ; then echo aaa ; fi
aaa
:~/bin$ if [ "a"="a" ] ; then echo aaa ; fi
aaa
:~/bin$ if ["a"="a"] ; then echo aaa ; fi
bash: [a=a]: command not found

or operator 

if [ "$2" = "" -o "$2" = "@" ]
then
  saved_name=`basename $url`
else
  saved_name=$2
fi

documented on: Sun 04-04-99