Alexander Kapshuk <alexander.kaps...@gmail.com> [16-02-17 20:24]: > On Wed, Feb 17, 2016 at 8:21 PM, <meino.cra...@gmx.de> wrote: > > Hi, > > > > curious about how that had felt in ancient times, when hardware > > and software were limited, I tried 'ed' - the one and only > > editor ;) > > > > One feature I cant figure out (and the reason for that may be, that it > > is not there... :) is: > > > > One has to specify the line, which s/he wants to edit. This is > > possible via regexp (which matches more than one line and may be > > not, what you want) and via line numbers. > > > > In case one wants to use line numbers: > > One can list the whole text to the console...but the line numbers > > are missing. > > The "visual version of ed" called 'vi' is able to preceed any line > > with a line number. > > > > Is this possible with ed? > > How does one know the number of a specific line? > > > > Or do I miss something very fundamental here ??? > > > > Thanks for any help in advance! > > Best regards, > > Meino > > > > > > > > You may find this manual, https://9p.io/7thEdMan/v7vol2a.pdf, for > research UNIX 7th edition of interest. > Amongst other things, it has a section called 'A Tutorial Introduction > to the UNIX Text Editor' written by Brian W. Kernighan of Bell Labs at > the time. You may then find a section called 'Advanced Editing on > UNIX' of further interest. >
Hi Alexander, THANKS A LOT! 8) That seems to be the "definitive guide to ed" because Brian Kernigham is the author... Looks like you linked me the "Programing C" by Dennis Ritchie - but for the ed and by Brian Kerningham. ;) Best! Best regards, Meino PS: Do you know TUHS??? ;)