home *** CD-ROM | disk | FTP | other *** search
- .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