diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/lists/doc/unique.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/lists/doc/unique.hlp')
-rw-r--r-- | pkg/lists/doc/unique.hlp | 27 |
1 files changed, 27 insertions, 0 deletions
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 |