read -r a b c||cd / NO [[ $b,$c = *"$a"*,*"$b"* ]]&&YES echo $_ . *