This is the mail archive of the
mailing list for the Cygwin project.
Re: Bug? Mixed CR/LF and LF line endings from different programs
- From: luke dot kendall at cisra dot canon dot com dot au
- To: cygwin at cygwin dot com
- Date: Mon, 2 Sep 2002 09:18:07 +1000 (EST)
- Subject: Re: Bug? Mixed CR/LF and LF line endings from different programs
On 30 Aug, Igor Pechtchanski wrote:
> Actually, it seems to do exactly the right thing. Notice that you PIPE
> the output to od, rather than write it to disk. When you pipe the output,
> there is no mount info to consult, and therefore, by default, the pipe is
> opened in binary mode. When you set the 'nobinmode' option on, it works
> exactly as cgf said, that is, it makes the pipe text mode. I'm sure if
> you wrote the output of sed and awk to disk, and then od'd the result,
> you'd get the right thing to happen, regardless of the binmode setting.
> If you want to use pipes, though, then 'nobinmode' is the way to go.
Ah! Many thanks, Igor, that explanation made it perfectly clear.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html