[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is it possible to output LF without CR under Windows? Lua 5.3
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 17 May 2015 22:12:03 +0200
2015-05-17 21:48 GMT+02:00 <tonyp@acm.org>:
> No file. I'm interested in stdout as I want to pipe it to another command.
> Can I re-open stdout in binary mode?
Probably not. Manual §6.8 says:
The table io also provides three predefined file handles with their usual
meanings from C: io.stdin, io.stdout, and io.stderr. The I/O library never
closes these files.
Does io.stderr also behave like a text file under Windows?