shell script if single or double brackets