On Tue, Jun 29, 2010 at 10:33 PM, Antonio Diaz Diaz <[email protected]> wrote: > [email protected] 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 H P *f file file *a foo . *w 4 *a bar . *e ? Warning: file modified *e # quits here $ _______________________________________________ bug-ed mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-ed
