diff --git a/ncat/test/toupper.lua b/ncat/test/toupper.lua index a8ab4e17c..7b9d79a17 100644 --- a/ncat/test/toupper.lua +++ b/ncat/test/toupper.lua @@ -2,12 +2,13 @@ while true do - data = io.stdin:read(1024) + data = io.stdin:read(1) if data == nil then break end io.write(data:upper()) + io.flush() end