home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
OL.LZH
/
PROGS.LZH
/
UNIQUE.ICN
< prev
next >
Wrap
Text File
|
1991-07-13
|
525b
|
23 lines
############################################################################
#
# Name: unique.icn
#
# Title: Filter out identical adjacent lines
#
# Author: Anthony Hewitt
#
# Date: December 22, 1989
#
############################################################################
#
# Filters out identical adjacent lines in a file.
#
############################################################################
procedure main()
local s
write(s := !&input)
every write(s ~==:= !&input)
end