DD converts LF -> CR / LF

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri May 6 14:42:00 GMT 2005


On Fri, May 06, 2005 at 06:52:15AM -0700, Brian Dessent wrote:
>Eric Blake wrote:
>
>> Predefining O_BINARY as the default input_flags and output_flags is a
>> stopgap measure.  While it is fine for other programs, such as od, to
>
>Doesn't that overly complicate things?  Seems to me that whenever you
>use dd you are interested in copying fixed record length data.  It just
>doesn't seem very likely that you would actually ever want dd to operate
>in text mode.

I was going to make the same observation but then I read the dd man page
and saw that it was already capable of padding newline-terminated records
so I guess this wouldn't be that big a stretch.

It certainly shouldn't do this by "default", though, no matter what the
underlying mount says.

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/



More information about the Cygwin mailing list