bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Bug#461798: warn earlier about readonly files


From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Bug#461798: warn earlier about readonly files
Date: Tue, 22 Jan 2008 16:27:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

address@hidden wrote:
Did I mention that ed should warn earlier that a file is readonly?

I think Paul Jackson has already responded your question:

------------------------------------------------
I would not agree that's a problem, and I would disagree that
such a change should be made.
 1) Sometimes I edit a read only file, as a convenient way to
    do other sorts of operations on it.  Opening to read a
    read-only file is not an error
 2) If and when I do try to write out changes to a read-only
    file, it's easy to deal with the write error by writing my
    changes out to a tmp file, quitting ed, and applying the
    changes some other way.
 3) ed is legacy software - most users and usages have been
    around a long time.  One should not tweak discretionary
    details of ed; fix real bugs, but leave the details that
    are cosmetic or a matter of opinion or fashion -alone-.
    Each non-essential change to ed breaks something or some
    usage.
------------------------------------------------


Regards,
Antonio.




reply via email to

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