> Did I mention that ed should warn earlier that a file is readonly?
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.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[EMAIL PROTECTED]> 1.940.382.4214
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]