RosettaCodeData/Task/File-input-output/Logo/file-input-output.logo

11 lines
161 B
Plaintext

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