summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-08-10 22:32:06 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-08-10 22:32:06 +0000
commite1e17e3fbbdc68b670a11a6d123a8c114f4cbe1c (patch)
tree4f9dc0c614570896aff4a77ae942797d53277708 /usr.bin
parentbec5070127beb40c6643818f85147e88b6f0fe9c (diff)
- reword -d and -u to make them simpler; based on a diff from Andreas Kahari,
tweaked by millert@ (#PR 3889) - remove some extraneous macros ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/uniq/uniq.112
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/uniq/uniq.1 b/usr.bin/uniq/uniq.1
index 0e88b87ea14..7380ea6c021 100644
--- a/usr.bin/uniq/uniq.1
+++ b/usr.bin/uniq/uniq.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uniq.1,v 1.9 2003/06/10 09:12:12 jmc Exp $
+.\" $OpenBSD: uniq.1,v 1.10 2004/08/10 22:32:05 jmc Exp $
.\" $NetBSD: uniq.1,v 1.5 1994/12/06 07:51:15 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
.Nd report or filter out repeated lines in a file
.Sh SYNOPSIS
.Nm uniq
-.Op Fl c | Fl d | Fl u
+.Op Fl c | d | u
.Op Fl f Ar fields
.Op Fl s Ar chars
.Oo
@@ -64,7 +64,7 @@ The options are as follows:
Precede each output line with the count of the number of times the line
occurred in the input, followed by a single space.
.It Fl d
-Don't output lines that are not repeated in the input.
+Only output lines which have duplicates.
.It Fl f Ar fields
Ignore the first
.Ar fields
@@ -85,7 +85,7 @@ characters after the first
fields will be ignored.
Character numbers are one based, i.e., the first character is character one.
.It Fl u
-Don't output lines that are repeated in the input.
+Only output lines which are unique.
.\".It Fl Ns Ar n
.\"(Deprecated; replaced by
.\".Fl f ) .
@@ -116,12 +116,12 @@ denotes the standard input or the standard output
.Pp
The
.Nm
-utility exits 0 on success or >0 if an error occurred.
+utility exits 0 on success or \*(Gt0 if an error occurred.
.Sh SEE ALSO
.Xr sort 1
.Sh STANDARDS
The historic
-.Cm \&\(pl Ns Ar number
+.Cm + Ns Ar number
and
.Fl Ns Ar number
options have been deprecated but are still supported in this implementation.