Set exit status as 'grep' command

- 0 if selected lines are found
- 1 if not found
- 2 if and error occurred