From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/lists/doc/unique.hlp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkg/lists/doc/unique.hlp (limited to 'pkg/lists/doc/unique.hlp') diff --git a/pkg/lists/doc/unique.hlp b/pkg/lists/doc/unique.hlp new file mode 100644 index 00000000..d55d5ac0 --- /dev/null +++ b/pkg/lists/doc/unique.hlp @@ -0,0 +1,27 @@ +.help unique Jan86 lists +.ih +NAME +unique -- remove repeated adjacent lines from a file +.ih +USAGE +unique files +.ih +PARAMETERS +.ls files +List of files to be processed. +.le +.ih +DESCRIPTION +Task \fBunique\fR 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. +.ih +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 +.ih +SEE ALSO +sort +.endhelp -- cgit