bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Two more buglets


From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Two more buglets
Date: Tue, 12 Apr 2011 12:47:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Martin Guy wrote:
PS BSD ed (which, yes, is the original v7 ed) does the same but
without pointlessly saying "newline appended".

The "pointlessly saying "newline appended"" is one of the things that have been fixed in 1.6-rc1. From the NEWS file:

"The condition deciding when to show the message "Newline appended" has
been corrected."


And here is how it works:

$ ed -V
GNU Ed 1.6-rc1
Copyright (C) 2011 Free Software Foundation, Inc.
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.
$ ed /bin/ls
72608
w foo
72608
q
$ cmp /bin/ls foo
$


Maybe ed does not detect your /bin/ls as a binary file? If this is the case, could you send me your /bin/ls so that I can reproduce the problem?


Thanks,
Antonio.



reply via email to

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