diff options
Diffstat (limited to 'man/1/uniq')
| -rw-r--r-- | man/1/uniq | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/man/1/uniq b/man/1/uniq new file mode 100644 index 00000000..408e9600 --- /dev/null +++ b/man/1/uniq @@ -0,0 +1,33 @@ +.TH UNIQ 1 +.SH NAME +uniq \- report repeated lines in a file +.SH SYNOPSIS +.B uniq +[ +.B -ud +] +[ +.I file +] +.SH DESCRIPTION +.I Uniq +copies the input +.IR file , +or the standard input, to the +standard output, comparing adjacent lines. +In the normal case, the second and succeeding copies +of repeated lines are +removed. +Repeated lines must be adjacent +in order to be found. +.TP +.B -u +Print unique lines. +.TP +.B -d +Print (one copy of) duplicated lines. +.SH SOURCE +.B /appl/cmd/uniq.b +.SH "SEE ALSO" +.IR comm (1), +.IR sort (1) |
