> Nils Reuße <n.reu...@hxgn.net> hat am 27. Februar 2018 um 11:27 geschrieben:
> 
> 
> Hi there,
> 
> the 'l' command in base ed currently does not mark the end of line with a 
> '$'.  This is documented in the man page (POSIX wants each '$' escaped, and a 
> final '$' at EOL).  Interestingly, the code to mark EOL is already there, 
> just hidden by the BACKWARDS flag ed is compiled with.  Here is a small diff 
> that removes the BACKWARDS guard around the EOL marker.  The resulting 
> behavior is equal to GNU ed, base vi and vim (:set list).
> 
> Removing the BACKWARDS flag would fix it as well, but i don't see the need 
> for that.  There is some code that could be deleted in that case, though 
> (mostly different error messages).
> 
> Any comments?
> 
> Kind regards
> Nils

Now that both 6.3 and "Ed Mastery" by Michael W Lucas have been released, could 
this go in?

Nils

Reply via email to