Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Copy-stdin-to-stdout/CLU/copy-stdin-to-stdout.clu
Normal file
10
Task/Copy-stdin-to-stdout/CLU/copy-stdin-to-stdout.clu
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
start_up = proc ()
|
||||
pi: stream := stream$primary_input()
|
||||
po: stream := stream$primary_output()
|
||||
|
||||
while true do
|
||||
stream$putc(po, stream$getc(pi))
|
||||
end except when end_of_file:
|
||||
return
|
||||
end
|
||||
end start_up
|
||||
Loading…
Add table
Add a link
Reference in a new issue