Audit fold(1)
1) Use num-wording in the manpage, remove offensive remark against the beloved -num-syntax <3. 2) Style changes. 3) Report errors of getline. 4) argv-argc-centric argument loop. 5) Rename r to ret for consistency.
This commit is contained in:
15
fold.1
15
fold.1
@@ -1,4 +1,4 @@
|
||||
.Dd March 5, 2015
|
||||
.Dd March 13, 2015
|
||||
.Dt FOLD 1
|
||||
.Os sbase
|
||||
.Sh NAME
|
||||
@@ -7,7 +7,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl bs
|
||||
.Op Fl w Ar width | Fl Ns Ar width
|
||||
.Op Fl w Ar num | Fl Ns Ar num
|
||||
.Op Ar file ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
@@ -24,11 +24,10 @@ reads from stdin.
|
||||
Count bytes rather than characters.
|
||||
.It Fl s
|
||||
If a line contains spaces, break
|
||||
at the last space within
|
||||
.Ar width .
|
||||
.It Fl w Ar width | Fl Ns Ar width
|
||||
at the last space within width.
|
||||
.It Fl w Ar num | Fl Ns Ar num
|
||||
Break at
|
||||
.Ar width
|
||||
.Ar num
|
||||
characters. Default is 80.
|
||||
.El
|
||||
.Sh STANDARDS
|
||||
@@ -38,6 +37,6 @@ utility is compliant with the
|
||||
.St -p1003.1-2008
|
||||
specification.
|
||||
.Pp
|
||||
The obsolete
|
||||
.Op Fl Ns Ar width
|
||||
The
|
||||
.Op Fl Ns Ar num
|
||||
syntax is an extension to that specification.
|
||||
|
Reference in New Issue
Block a user