On 16-Nov-2012 10:31:22 Laurie Brown wrote:
On 15/11/2012 20:34, James Freer wrote:
[SNIP]
and i'll give the sed docs a read. Hopefully it's not too involved otherwise i might as well switch to vim.
HaHa! Good luck with that! You might be gone some time!
Cheers, Laurie.
The original query was about viewing *and editing* files: "Is there an editor apart from Emacs and Vim that does 'softwrap' or 'linebreak' (as vim calls it). I want to use a console editor for editing text words (as opposed to programmer's code). Despite hundreds available it seems that emacs and vim are the only two that offer this." [...] "Point is i want to save in long line form but view and edit in wrapped form - just like one does in gedit or leafpad." [James Freer, Wed, 14 Nov 2012 20:35:23 +0000] The use of 'sed' may well be fine for the stated viewing purpose. But I would *not* recommend using 'sed' for general editing!!! (Theoretically possible; but even something as simple as inserting a new phrase in the middle of an existing paragraph could take several minutes to set up in 'sed'). Speaking for myself, I use 'vim' all the time. The main thing to get used to with 'vim' is switching between command mode and insert mode. Best wishes to all, Ted. ------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@wlandres.net> Date: 16-Nov-2012 Time: 11:16:17 This message was sent by XFMail -------------------------------------------------