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
----- Original Message -----
From: "Corinna Vinschen" <cygwin-apps@cygwin.com>
>
> That's really tricky:
>
> sh < foo O_TEXT?
> cat foo | sh O_BINARY?
>
> Corinna
>
That looks correct to me. I had some trouble with awk a while back that
I haven't gotten around to fixing... and its the same difference. I
don't know whether it's up to the shell to set the input and output
types and let the app override, or whether it's just the apps problem...
Rob