I would like to add to more test elements 1. if [[ $1 = *\ * ]] && [[ ! $1 = *@* ]] && [[ ! $1 = *=* ]] then echo 1 fi