delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/08/19:04:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 8 May 2005 19:03:38 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: bug-coreutils AT gnu DOT org
Subject: Re: DD converts LF -> CR / LF
Message-ID: <20050508230338.GB3896@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <427B1A65 DOT 5060106 AT tu-bs DOT de> <427B258F DOT 90516ACA AT dessent DOT net> <427B70CB DOT 7040101 AT byu DOT net> <87oebo1bfa DOT fsf AT penguin DOT cs DOT ucla DOT edu> <427CDB49 DOT 8030804 AT byu DOT net> <87y8ap92wp DOT fsf AT penguin DOT cs DOT ucla DOT edu>
Mime-Version: 1.0
In-Reply-To: <87y8ap92wp.fsf@penguin.cs.ucla.edu>
User-Agent: Mutt/1.5.8i

On Sun, May 08, 2005 at 08:02:30AM -0700, Paul Eggert wrote:
>Eric Blake <ebb9 AT byu DOT net> 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? ->	aaaspam AT sourceware DOT org
Cygwin Co-Project Leader				aaaspam AT duffek DOT com
TimeSys, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019