« first day (1209 days earlier)      last day (326 days later) » 

4:32 PM
Hello there!
I'm trying to run on local, a program on K that takes a file for STDIN.
For example on other programming languages I do something like:
py main.py < test.txt (for example)
But in K it doesn't seems to work.
I have the latest version of ngn/K installed.
If somebody knows the answer it would help me a lot ! :D
 
ngn
@TKirishima 1:fd read()-s from a file descriptor. fd can be 0.
{x,1:0}/"" reads all of stdin
 
@ngn Thanks a lot! it works too!!
 

« first day (1209 days earlier)      last day (326 days later) »