home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
PASTOOL1.ZIP
/
UNIQUE.MAN
< prev
next >
Wrap
Text File
|
1983-09-07
|
463b
|
18 lines
.im man.im
.NM unique delete adjacent duplicate lines
.SY unique
.FU
.ital unique
writes to its output only the first line from each
group of adjacent identical input lines.
It is most useful for text that has been sorted to bring identical lines
together; in this case it passes through only unique instances of input
lines.
.EG
To eliminate duplicate lines in the output of a program:
.Q1
program }temp1
sortf {temp1 }temp2
unique {temp2
.Q2