Module Name: src
Committed By: wiz
Date: Wed Jun 20 17:53:19 UTC 2012
Modified Files:
src/usr.bin/cut: cut.1
Log Message:
cut.1:
- bump date;
- synchronize argument name to `-d' (prefer ``string'' above
``delim'' since it's not just a single character that can be
given (even though only one, being the first one, is actually
used));
- improve wording;
- use macro for `EXIT STATUS' section.
>From Bug Hunting.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/cut/cut.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/cut/cut.1
diff -u src/usr.bin/cut/cut.1:1.17 src/usr.bin/cut/cut.1:1.18
--- src/usr.bin/cut/cut.1:1.17 Sat Jun 9 19:23:14 2012
+++ src/usr.bin/cut/cut.1 Wed Jun 20 17:53:19 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: cut.1,v 1.17 2012/06/09 19:23:14 wiz Exp $
+.\" $NetBSD: cut.1,v 1.18 2012/06/20 17:53:19 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)cut.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 9, 2012
+.Dd June 12, 2012
.Dt CUT 1
.Os
.Sh NAME
@@ -48,7 +48,7 @@
.Op Ar
.Nm
.Fl f Ar list
-.Op Fl d Ar delim
+.Op Fl d Ar string
.Op Fl s
.Op Ar
.Sh DESCRIPTION
@@ -92,11 +92,9 @@ input line.
The options are as follows:
.Bl -tag -width Fl
.It Fl b Ar list
-The
.Ar list
specifies byte positions.
.It Fl c Ar list
-The
.Ar list
specifies character positions.
.It Fl d Ar string
@@ -107,7 +105,6 @@ The default is the
.Aq TAB
character.
.It Fl f Ar list
-The
.Ar list
specifies fields, separated by the field delimiter character.
The selected fields are output,
@@ -115,12 +112,11 @@ separated by the field delimiter charact
.It Fl n
Do not split multi-byte characters.
.It Fl s
-Suppresses lines with no field delimiter characters.
+Suppress lines with no field delimiter characters.
Unless specified, lines with no delimiters are passed through unmodified.
.El
.Sh EXIT STATUS
-.Nm
-exits 0 on success, 1 if an error occurred.
+.Ex -std
.Sh SEE ALSO
.Xr paste 1
.Sh STANDARDS