[Gllug] ed vs emacs/vi, was: ed vs emacs, was: OpenMoko Neo Freerunner

damion.yates at gmail.com damion.yates at gmail.com
Sat May 9 16:36:22 UTC 2009


On Sat, 9 May 2009, Harry Rickards wrote:

> On 05/09/09 15:42, Alain Williams wrote:
> > On Sat, May 09, 2009 at 02:33:05PM +0100, Nix wrote:
> > 
> > errrm: with vi/emacs/... you have your cursor on one character (ie one line)
> > at any one time.
> 
> I think he means that you can do find and replace etc with vi/emacs. I
> suppose you could use a separate tool like sed for that though.
> 
> > Change multiple lines:
> > 	1,$s/foo/bar/

This is find and replace in ed, just as you can in vi and emacs.

Damion
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list