Jump to content

Copy stdin to stdout: Difference between revisions

(Frink)
Line 105:
 
=={{header|Frink}}==
The special string "-" indicates reading from stdin.
<lang frink>while (line = readStdin[]) != undef
<lang printlnfrink>print[read[line"-"]]</lang>
 
=={{header|Go}}==
494

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.