This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DD converts LF -> CR / LF


On Sat, May 07, 2005 at 09:14:17AM -0600, Eric Blake wrote:
>According to Paul Eggert on 5/6/2005 12:01 PM:
>> That looks pretty complicated.  How about if we just rely on "open"
>> and "fcntl" to do the work?  If they don't work, they should.
>> 
>> I installed this into coreutils:
>> 
>> 2005-05-06  Paul Eggert  <eggert@cs.ucla.edu>
>> 
>> 	* NEWS: dd has new iflag= and oflag= flags "binary" and "text".
>> 	* doc/coreutils.texi (dd invocation): Document it.
>> 	* src/dd.c (flags, usage): Support it.
>
>That's okay for a start, but it now defaults to the underlying mount mode
>when the user does not specify binary or text.  In my opinion, dd should
>default to binary when neither text nor binary is specified (of course,
>that makes iflag=binary pretty much a no-op).

So, this seems to be the consensus.  It really is the only sane way for
dd to operate.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]