IRAF help page for package lists, program unique

from NOAO unique -- remove repeated adjacent lines from a fileUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

unique -- remove repeated adjacent lines from a file


USAGE

unique files


PARAMETERS

files

List of files to be processed.


DESCRIPTION

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.


EXAMPLES

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


SEE ALSO

sort,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu