:%s/^/#/

On Thu, 9 Mar 2000, Ben Donohue wrote:

> hi slugs,
> just a quick question,
> using vi how do i insert a # in the first column of a long file. such
> that every line from top to bottom starts with a #
> 
> 

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to