Penguin
Annotated edit history of uniq(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 UNIQ
2 !!!UNIQ
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 REPORTING BUGS
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 uniq - remove duplicate lines from a sorted file
15 !!SYNOPSIS
16
17
18 __uniq__ [[''OPTION'']... [[''INPUT''
19 [[''OUTPUT'']]
20 !!DESCRIPTION
21
22
23 Discard all but one of successive identical lines from INPUT
24 (or standard input), writing to OUTPUT (or standard
25 output).
26
27
28 __-c__, __--count__
29
30
31 prefix lines by the number of occurrences
32
33
34 __-d__, __--repeated__
35
36
37 only print duplicate lines
38
39
40 __-D__, __--all-repeated__
41
42
43 print all duplicate lines
44
45
46 __-f__, __--skip-fields__=''N''
47
48
49 avoid comparing the first N fields
50
51
52 __-i__, __--ignore-case__
53
54
55 ignore differences in case when comparing
56
57
58 __-s__, __--skip-chars__=''N''
59
60
61 avoid comparing the first N characters
62
63
64 __-t__, __--separator__=''SEP''
65
66
67 use SEParator to delimit fields
68
69
70 __-u__, __--unique__
71
72
73 only print unique lines
74
75
76 __-w__, __--check-chars__=''N''
77
78
79 compare no more than N characters in lines
80
81
82 __-W__, __--check-fields__=''N''
83
84
85 compare no more than N fields in lines
86
87
88 __-N__
89
90
91 same as __-f__ N
92
93
94 +N
95
96
97 same as __-s__ N
98
99
100 __--help__
101
102
103 display this help and exit
104
105
106 __--version__
107
108
109 output version information and exit
110
111
112 A field is a run of whitespace, then non-whitespace
113 characters, unless a SEParator is given. Fields are skipped
114 before chars.
115 !!AUTHOR
116
117
118 Written by Richard Stallman and David
2 perry 119 !MacKenzie.
1 perry 120 !!REPORTING BUGS
121
122
123 Report bugs to
124 !!COPYRIGHT
125
126
127 Copyright 1999 Free Software Foundation, Inc.
128 This is free software; see the source for copying
129 conditions. There is NO warranty; not even for
130 MERCHANTABILITY or FITNESS FOR A PARTICULAR
131 PURPOSE.
132 !!SEE ALSO
133
134
135 The full documentation for __uniq__ is maintained as a
136 Texinfo manual. If the __info__ and __uniq__ programs
137 are properly installed at your site, the
138 command
139
140
141 __info uniq__
142
143
144 should give you access to the complete manual.
145 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.