unique -- remove repeated adjacent lines from a file
- List of files to be processed.
Task unique 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.
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