Mac – What does `grep -n` option mean

emacsgrep

When I use find-grep in Emacs, this command is appeared.
find . -type f -exec grep -nH -e {} +

I searched -n option in man grep. Why is not there? And What does it means?

Best Answer

From man grep on my computer:

  -n, --line-number
        Prefix each line of output with the line number within its
        input file.
Related Question