On Mon, 2009-06-08 at 20:05 -0700, Daniel Burrows wrote:
> On Tue, Jun 09, 2009 at 11:03:39AM +1200, Richard Hector 
> <rich...@walnut.gen.nz> was heard to say:

> > :s/^/> /
> > 
> > should work for the quoting, as with the sed example someone else gave.
> 
>   You have to put a range in there or it'll only hit the current line:
> 
> :0,$s/^/> /

True. I usually use visual mode - shift-v and cursors (or G to jump to
the bottom, in this case) to select the lines, then I only type what I
did above, and it sticks in the range automatically.

Richard



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to