[Top][All Lists]
[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: |
Fri, 15 Apr 2011 13:55:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Martin Guy wrote:
A notice a couple of differences in the 'l' command:
1) They differ in that GNU ed prints a $ after the last char of each
line whereas old ed doesn't (and the manual says nothing about this
except that it "prints the lines unambiguously".
This is why I hate to have a texinfo manual and a man page. They get out
of sync so easily. The texinfo manual says:
`(.,.)l'
Prints the addressed lines unambiguously. The end of each line is
marked with a `$', and every `$' character within the text is
printed with a preceding backslash. The current address is set to
the last line printed.
It is perhaps time to begin generating the man page with "help2man".
2) Both the manual pages for GNU ed and for old ed's manuals say that
'l' paginates the output if it's longer than a screenful:
Pagination (pause mode) was removed long ago (in 2006) by popular
demand. If you listed by mistake a large file, you were forced to press
the RETURN key lots of times.
but neither of them actually does so!
I guess every ed out there has removed pause mode. It was so
inconvenient! It also seems man pages tend to become obsolete
everywhere. :-)
I've published the reason I was examining the code and behviour so
closely: translating it into Lua:
As you can see, your work is also benefiting GNU ed. Thanks.
Antonio.
- Re: [Bug-ed] Two more buglets, (continued)
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/11
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/11
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/12
- Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
- Re: [Bug-ed] Two more buglets, Martin Guy, 2011/04/12
Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/12
Re: [Bug-ed] Two more buglets, Antonio Diaz Diaz, 2011/04/14