home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
historic
/
v941.tgz
/
icon.v941src.tar
/
icon.v941src
/
ipl
/
progs
/
catlines.icn
< prev
next >
Wrap
Text File
|
2000-07-29
|
702b
|
32 lines
############################################################################
#
# File: catlines.icn
#
# Subject: Program to concatenate lines of a file
#
# Author: Ralph E. Griswold
#
# Date: January 14, 1999
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# This program concatenates all the lines from standard input and
# writes the result to standard output.
#
############################################################################
procedure main()
local line
line := ""
while line ||:= read()
write(line)
end