New sed in latest

Chris Faylor cgf@cygnus.com
Sun Jun 4 15:27:00 GMT 2000


On Sun, Jun 04, 2000 at 05:06:42PM -0400, Christopher Jones wrote:
>This really seems broken if the way I mount something affects line endings
>such that I can't remove \r on a text mounted system with sed.  I can't
>think of a place where I really want to use cygwin to do DOS things... but
>if I did wouldn't I have to handle \r\n on my own just as I would if I were
>to manipulate a dos partition from GNU/Linux?  At least on UNIX how the file
>gets written doesn't change line endings on the way to disk.  Yuck.

You could *never* remove \r line endings on a text mounted system with sed
or any other program which does not go out of its way to open a file in
"binary mode".

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list