blob: d55d5ac0e48077109f74bedb61d6f634286eaa21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
.help unique Jan86 lists
.ih
NAME
unique -- remove repeated adjacent lines from a file
.ih
USAGE
unique files
.ih
PARAMETERS
.ls files
List of files to be processed.
.le
.ih
DESCRIPTION
Task \fBunique\fR reads the input comparing adjacent lines. The second and
successive copies of a line are removed; the remainder is passed on to the
standard output.
.ih
EXAMPLES
Remove repeated names from a list. Note the input file has been sorted
alphabetically so repeated names are adjacent.
cl> sort names | unique > names.final
.ih
SEE ALSO
sort
.endhelp
|