bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: ed and ^M: damages files unbeknownst to the user


From: Paul Jarc
Subject: Re: ed and ^M: damages files unbeknownst to the user
Date: Wed, 21 Nov 2001 20:28:50 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
> Looked fine in more, less, cat, etc.  Edited fine in emacs... then
> one day I use ed, and wreck the file.

less would show you the carriage returns.  Emacs could be configured
to do the same.

> Your solution requires us to know the format of each file before we
> 'ed' it.  OK, but be consistent and take the 'binary file' warnings
> out of grep, diff, etc.

Why would such "consistency" be a good thing?

[70 useless quoted lines snipped]


paul



reply via email to

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