 vote
 |
|
The Linux utility nl is an easy tool to use to number lines in scripts or flexible enough to create headers, body and footers in your documents.
If you don’t specify any options, only the non-blank lines will be numbered. Use the “-b” switch with the appropriate options to change that behavior. With the “a” option, you can number all lines, including the blanks.
| | |
| |
|
|