diff options
Diffstat (limited to 'usr.bin/uniq')
-rw-r--r-- | usr.bin/uniq/uniq.1 | 15 | ||||
-rw-r--r-- | usr.bin/uniq/uniq.c | 6 |
2 files changed, 15 insertions, 6 deletions
diff --git a/usr.bin/uniq/uniq.1 b/usr.bin/uniq/uniq.1 index 55c2c71a727..881b34464ea 100644 --- a/usr.bin/uniq/uniq.1 +++ b/usr.bin/uniq/uniq.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uniq.1,v 1.13 2007/11/09 20:04:03 kili Exp $ +.\" $OpenBSD: uniq.1,v 1.14 2007/11/11 17:50:29 kili Exp $ .\" $NetBSD: uniq.1,v 1.5 1994/12/06 07:51:15 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)uniq.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: November 9 2007 $ +.Dd $Mdocdate: November 11 2007 $ .Dt UNIQ 1 .Os .Sh NAME @@ -41,7 +41,8 @@ .Nd report or filter out repeated lines in a file .Sh SYNOPSIS .Nm uniq -.Op Fl c | d | u +.Op Fl c +.Op Fl d | u .Op Fl f Ar fields .Op Fl s Ar chars .Oo @@ -126,6 +127,14 @@ utility is compliant with the .St -p1003.1-2004 specification. .Pp +The use of +.Fl c +in conjunction with +.Fl d +or +.Fl u +is an extension to that specification. +.Pp The historic .Cm + Ns Ar number and diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 073bb334aaf..50a0f600bc2 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uniq.c,v 1.16 2007/11/09 20:04:03 kili Exp $ */ +/* $OpenBSD: uniq.c,v 1.17 2007/11/11 17:50:29 kili Exp $ */ /* $NetBSD: uniq.c,v 1.7 1995/08/31 22:03:48 jtc Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)uniq.c 8.3 (Berkeley) 5/4/95"; #endif -static char rcsid[] = "$OpenBSD: uniq.c,v 1.16 2007/11/09 20:04:03 kili Exp $"; +static char rcsid[] = "$OpenBSD: uniq.c,v 1.17 2007/11/11 17:50:29 kili Exp $"; #endif /* not lint */ #include <ctype.h> @@ -243,7 +243,7 @@ usage(void) extern char *__progname; (void)fprintf(stderr, - "usage: %s [-c | -d | -u] [-f fields] [-s chars] [input_file [output_file]]\n", + "usage: %s [-c] [-d | -u] [-f fields] [-s chars] [input_file [output_file]]\n", __progname); exit(1); } |