What does Linux cat -b or –number-nonblank option do?

You can use cat -b or –number-nonblank options to number nonempty output lines.