Jump to content

Copy stdin to stdout: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(→‎{{header|Go}}: Add a simpler solution)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 721:
 
Bytes are read from stdin and written to stdout until the return key is pressed.
<syntaxhighlight lang="ecmascriptwren">import "io" for Stdin, Stdout
 
Stdin.isRaw = true // prevents echoing to the terminal
9,476

edits

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