[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DD converts LF -> CR / LF
From: |
Christopher Faylor |
Subject: |
Re: DD converts LF -> CR / LF |
Date: |
Sun, 8 May 2005 19:03:38 -0400 |
User-agent: |
Mutt/1.5.8i |
On Sun, May 08, 2005 at 08:02:30AM -0700, Paul Eggert wrote:
>Eric Blake <address@hidden> writes:
>>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
>
>Hmm, overriding the explicit advice of the system administrator? How
>common is it for file systems to be mounted in text mode? Why would
>anyone do such a thing? If it's sufficiently rare, then dd shouldn't
>need to worry about it.
It is not rare but, regardless, this email was the result of someone who
was surprised by the fact that dd converted LF -> CRLF. Whether it is
common or not, I don't think it makes sense to surprise people who use
dd when it is trivial to make it work in a more UNIX-like fashion (i.e.,
do not convert LF -> CRLF).
--
Christopher Faylor spammer? -> address@hidden
Cygwin Co-Project Leader address@hidden
TimeSys, Inc.