Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/fold Mark file argument(s) as being optional (as doe...



details:   https://anonhg.NetBSD.org/src/rev/b340bd89d521
branches:  trunk
changeset: 769577:b340bd89d521
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Sep 15 09:39:57 2011 +0000

description:
Mark file argument(s) as being optional (as does the usage message
from fold.c, which is correct); minor spelling correction; note
`width' as being an argument to `-w'; reference fmt(1) in `SEE
ALSO' section.

>From Snader_LB.

diffstat:

 usr.bin/fold/fold.1 |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r f15348bdd75a -r b340bd89d521 usr.bin/fold/fold.1
--- a/usr.bin/fold/fold.1       Thu Sep 15 09:14:54 2011 +0000
+++ b/usr.bin/fold/fold.1       Thu Sep 15 09:39:57 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fold.1,v 1.12 2010/05/14 16:54:48 joerg Exp $
+.\"    $NetBSD: fold.1,v 1.13 2011/09/15 09:39:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)fold.1      8.1 (Berkeley) 6/6/93
 .\"
-.Dd July 21, 2009
+.Dd September 15, 2011
 .Dt FOLD 1
 .Os
 .Sh NAME
@@ -39,12 +39,12 @@
 .Nm
 .Op Fl bs
 .Op Fl w Ar width
-.Ar
+.Op Ar
 .Sh DESCRIPTION
 .Nm
 is a filter which folds the contents of the specified files,
 or the standard input if no files are specified,
-breaking the lines to have maximum of 80 characters.
+breaking the lines to have a maximum of 80 characters.
 .Pp
 The options are as follows:
 .Bl -tag -width indent
@@ -57,7 +57,9 @@
 .Ar width
 column positions (or bytes).
 .It Fl w
-Specifies a line width to use instead of the default 80 characters.
+Specifies
+.Ar width
+to use as a line width, instead of the default 80 characters.
 .El
 .Sh ENVIRONMENT
 .Bl -tag -width indent
@@ -66,7 +68,8 @@
 .Sh EXIT STATUS
 .Ex -std
 .Sh SEE ALSO
-.Xr expand 1
+.Xr expand 1 ,
+.Xr fmt 1
 .Sh STANDARDS
 The
 .Nm



Home | Main Index | Thread Index | Old Index