nl command for MoonX.
moonx cli/nl input.txt
moonx cli/nl -ba -w 4 -s ': ' input.txt| Option | Description |
|---|---|
| -b VALUE, --body-numbering VALUE | Select body style: a (all), t (nonempty), n (none) or pBRE (matching). Default: t. |
| -w VALUE, --number-width VALUE | Set the minimum number field width. Default: 6. |
| -s VALUE, --number-separator VALUE | Set the text between the number and line. Default: "\t". |
| -v VALUE, --starting-line-number VALUE | Set the initial line number. Default: 1. |
| -i VALUE, --line-increment VALUE | Set the line-number increment. Default: 1. |
| --help | Show help. |
| --version | Show the version. |