[Top][All Lists]

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

Re: [Bug-ed] ed quits when command 'e' is performed on a modified file

From: address@hidden
Subject: Re: [Bug-ed] ed quits when command 'e' is performed on a modified file
Date: Wed, 30 Jun 2010 04:55:46 +0300

On Tue, Jun 29, 2010 at 10:33 PM, Antonio Diaz Diaz
<address@hidden> wrote:
> address@hidden wrote:
>> The command 'e' when entered without a filename is supposed to re-read the
>> current file and discard any changes. However, in GNU ed, it quits
>> instead.
>> The ed implementation supplied with Mac OS X Leopard works as expected.
>> See
>> the example below.
> What version of GNU ed are you using?
> 1.5-rc1 seems to work correctly.
> Regards,
> Antonio.

When I sent my first email, I was having the bug in 1.4. Now I tried
1.5-rc1, and I can reproduce the bug with it too.

$ /opt/ed-1.5-rc1/ed -V
GNU Ed 1.5-rc1
Copyright (C) 1994 Andrew L. Moore.
Copyright (C) 2010 Antonio Diaz Diaz.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ /opt/ed-1.5-rc1/ed
*f file
Warning: file modified
*e # quits here

reply via email to

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