RosettaCodeData/Task/File-input-output/Logo/file-input-output.logo
2015-02-20 09:02:09 -05:00

10 lines
161 B
Text

to copy :from :to
openread :from
openwrite :to
setread :from
setwrite :to
until [eof?] [print readrawline]
closeall
end
copy "input.txt "output.txt