Implement nl -v startnum

This commit is contained in:
sin
2015-02-20 12:05:54 +00:00
parent 028b0c206f
commit 13e4231f4c
3 changed files with 18 additions and 7 deletions

7
nl.1
View File

@@ -1,4 +1,4 @@
.Dd December 4, 2014
.Dd February 20, 2015
.Dt NL 1
.Os sbase
.Sh NAME
@@ -9,6 +9,7 @@
.Op Fl b Ar type
.Op Fl i Ar incr
.Op Fl s Ar sep
.Op Fl v Ar startnum
.Op Ar file
.Sh DESCRIPTION
.Nm
@@ -41,6 +42,10 @@ Defines the increment between numbered lines.
.It Fl s Ar sep
Defines the string used to separate line numbers and lines. By default this is
a tab.
.It Fl v Ar startnum
Start counting from
.Ar startnum
instead of the default 1.
.El
.Sh SEE ALSO
.Xr pr 1