remove trailing newline on git grep results