On Wed, Feb 19, 2003 at 12:33:50PM -0800, KMatte wrote:
>Using 'ed' to modify a file with 'CR/LF' at the end of each
>line results in the CR's being stripped out.

Correct.  ed is linked with automode.o.  It reads textmode input
and writes binmode output.

>I don't believe this is the desired behaviour since vi
>doesn't behave in this manner.

vi has a 'set [no]binary' command.  ed doesn't.

However, as always, patches gratefully accepted.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to