OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_textutils / original / man1 / uniq.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.012.
2 .TH UNIQ "1" "August 1999" "GNU textutils 2.0" FSF
3 .SH NAME
4 uniq \- remove duplicate lines from a sorted file
5 .SH SYNOPSIS
6 .B uniq
7 [\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
8 .SH DESCRIPTION
9 .PP
10 .\" Add any additional description here
11 .PP
12 Discard all but one of successive identical lines from INPUT (or
13 standard input), writing to OUTPUT (or standard output).
14 .TP
15 \fB\-c\fR, \fB\-\-count\fR
16 prefix lines by the number of occurrences
17 .TP
18 \fB\-d\fR, \fB\-\-repeated\fR
19 only print duplicate lines
20 .TP
21 \fB\-D\fR, \fB\-\-all\-repeated\fR
22 print all duplicate lines
23 .TP
24 \fB\-f\fR, \fB\-\-skip\-fields\fR=\fIN\fR
25 avoid comparing the first N fields
26 .TP
27 \fB\-i\fR, \fB\-\-ignore\-case\fR
28 ignore differences in case when comparing
29 .TP
30 \fB\-s\fR, \fB\-\-skip\-chars\fR=\fIN\fR
31 avoid comparing the first N characters
32 .TP
33 \fB\-u\fR, \fB\-\-unique\fR
34 only print unique lines
35 .TP
36 \fB\-w\fR, \fB\-\-check\-chars\fR=\fIN\fR
37 compare no more than N characters in lines
38 .TP
39 \fB\-N\fR
40 same as \fB\-f\fR N
41 .TP
42 +N
43 same as \fB\-s\fR N
44 .TP
45 \fB\-\-help\fR
46 display this help and exit
47 .TP
48 \fB\-\-version\fR
49 output version information and exit
50 .PP
51 A field is a run of whitespace, then non-whitespace characters.
52 Fields are skipped before chars.
53 .SH "REPORTING BUGS"
54 Report bugs to <bug-textutils@gnu.org>.
55 .SH "SEE ALSO"
56 The full documentation for
57 .B uniq
58 is maintained as a Texinfo manual.  If the
59 .B info
60 and
61 .B uniq
62 programs are properly installed at your site, the command
63 .IP
64 .B info uniq
65 .PP
66 should give you access to the complete manual.
67 .SH COPYRIGHT
68 Copyright \(co 1999 Free Software Foundation, Inc.
69 .br
70 This is free software; see the source for copying conditions.  There is NO
71 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.