Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

uniq(1) OSS Shell and Utilities Reference Manual
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).
934 Hewlett-Packard Company 527188-003