different way to write grep bool expression