add the line number of grep result