Auto : using glob instead of regex in bash