Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (t - u) uniq(1)
EXAMPLES
To delete repeated lines in the following le called fruit and save it to a le named newfruit,
enter:
uniq fruit newfruit
The le fruit contains the following lines:
apples
apples
bananas
cherries
cherries
peaches
pears
The le newfruit contains the following lines:
apples
bananas
cherries
peaches
pears
RELATED INFORMATION
Commands: comm(1), sort(1).
527188-007 Hewlett-Packard Company 935