home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
OL.LZH
/
PROGS.LZH
/
UNPACK.ICN
< prev
next >
Wrap
Text File
|
1991-07-13
|
830b
|
32 lines
############################################################################
#
# Name: unpack.icn
#
# Title: Unpackage files
#
# Author: Ralph E. Griswold
#
# Date: May 27, 1989
#
############################################################################
#
# This program unpackages files produced by pack.icn. See that program
# for information about limitations.
#
############################################################################
#
# See also: pack.icn
#
############################################################################
procedure main()
local line, out
while line := read() do {
if line == "##########" then {
close(\out)
out := open(name := read(),"w") | stop("cannot open ",name)
}
else write(out,line)
}
end