fixed grep syntax error

There was a bug in the previous pullrequest.
I am sorry, I ask for confirmation again...