home *** CD-ROM | disk | FTP | other *** search
-
- UNIQ: HI command
- Finds duplicated lines in a file and displays either
- the duplicated lines or non-duplicated lines, or a
- combination. A line is only considered a duplicate if the
- second line immediately follows the first.
-
- SYNTAX:
- uniq pathname [to|over|after outpath] [s] [m] [d]
-
- PARAMETERS:
-
- pathname
- The text file to be processed. If a wildcard is used,
- uniq processes only the first file found.
-
- to|over|after outpath
- Writes the output to the specified file rather than to the
- screen.
-
- s(ingle)
- Displays only lines with no duplicates.
-
- m(ultiple)
- Displays only lines that are duplicated.
-
- d(uplicate)
- Displays the extra line of lines that are duplicated.
-
- ADDITIONAL INFORMATION:
-
- The single, multiple, and duplicate parameters may be used in any
- combination. If none of these is entered, the default is single and
- multiple, which causes uniq to display all lines that contain no
- adjacent duplicate lines. The lines must be adjacent in order to be
- detected.
-
- For further information on this command, please refer to the
- Command Reference manual.
-
-