delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/07/11:14:54

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
Message-ID: <427CDB49.8030804@byu.net>
Date: Sat, 07 May 2005 09:14:17 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Paul Eggert <eggert AT CS DOT UCLA DOT EDU>
CC: cygwin AT cygwin DOT com, s DOT schuberth AT tu-bs DOT de, bug-coreutils AT gnu DOT org
Subject: Re: DD converts LF -> CR / LF
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>
In-Reply-To: <87oebo1bfa.fsf@penguin.cs.ucla.edu>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 AT cs DOT ucla DOT 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).

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCfNtI84KuGfSFAYARAvJTAJ9qZymfD8tj84OIFBORuo1+Nyix5wCfXoqQ
R21yy4vx9YA1YIDr5oHG7MI=
=wjhL
-----END PGP SIGNATURE-----

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