This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: ash stdin mode is set to O_TEXT
Hi!
Sunday, 22 April, 2001 Corinna Vinschen cygwin-apps@cygwin.com wrote:
>> But then, if ash is reading from a pipe, stdin should, IMO, be in binary
>> mode.
CV> That's really tricky:
CV> sh < foo O_TEXT?
CV> cat foo | sh O_BINARY?
how about
sh -c bar.sh < foo
cat foo | sh -c bar.sh
? shouldn't it be O_BINARY in both cases here?
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19