Make it work with grep -- close #2

The line numbers were not printed. Fix it with '-n'.