bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DD converts LF -> CR / LF


From: Eric Blake
Subject: Re: DD converts LF -> CR / LF
Date: Sat, 07 May 2005 09:14:17 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----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  <address@hidden>
> 
>       * 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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]