Implement nl -w width

This commit is contained in:
sin
2015-02-20 12:15:43 +00:00
parent 13e4231f4c
commit 9de3546082
3 changed files with 13 additions and 3 deletions

6
nl.1
View File

@@ -10,6 +10,7 @@
.Op Fl i Ar incr
.Op Fl s Ar sep
.Op Fl v Ar startnum
.Op Fl w Ar width
.Op Ar file
.Sh DESCRIPTION
.Nm
@@ -46,6 +47,11 @@ a tab.
Start counting from
.Ar startnum
instead of the default 1.
.It Fl w Ar width
The number of characters to be occupied by the line number
will be set to
.Ar width .
The default is 6.
.El
.Sh SEE ALSO
.Xr pr 1