Steven Brown wrote:

Steven [EMAIL PROTECTED] ~/src
$ cat << EOF | file -
 > foo
 > EOF
/dev/stdin: ASCII text, with CRLF line terminators
[...]
Is this by design or a bug? It seems like the wrong thing for it to be doing.

The cause of this is apparently /tmp being a textmode mount. If switched to binary, cat << EOF works as expected. Is that really what's supposed to happen? It doesn't seem right that a system configured to act binmode is going textmode just due to using '<< EOF' syntax.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to