From e1e17e3fbbdc68b670a11a6d123a8c114f4cbe1c Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Tue, 10 Aug 2004 22:32:06 +0000 Subject: - 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@ --- usr.bin/uniq/uniq.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr.bin') 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. -- cgit v1.2.3