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