Re: vim question - comment multiple lines
From: Jason Dixon (jason_at_dixongroup.net)
Date: 09/10/03
- Previous message: Cameron Simpson: "Re: vim question - comment multiple lines"
- In reply to: Didier Casse: "Re: vim question - comment multiple lines"
- Next in thread: Didier Casse: "Re: vim question - comment multiple lines"
- Reply: Didier Casse: "Re: vim question - comment multiple lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Red Hat Mailing List <redhat-list@redhat.com> Date: 10 Sep 2003 00:41:12 -0400
On Wed, 2003-09-10 at 00:18, Didier Casse wrote:
> On Wed, 10 Sep 2003, Herculano de Lima Einloft Neto wrote:
> >
> > I guess this is an easy one.. how can I insert / delete something at
> > the beggining of each line of a block in vi? Still can't figure it,
> > though there must be at least ten ways.
> >
> On way is to use PERL! Since I'm familiar with PERL, I'm gonna give u a
> PERL solution:
[snip]
Didier, please don't take this to be a scathing criticism, but... rather
than creating a 12-line perl script to make simple edits, why not take a
few minutes to expand your own knowledge (obviously, you're a smart guy)
and find a reasonable solution using vi, as the OP was inquiring?
The answer to his question is basic VI syntax. There's no reason to
reinvent this wheel with a mac truck. :)
What's next? A 1000-line perl program to take the place of cdrecord?
(http://cdrx.sourceforge.net). </tongue-in-cheek>
-- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Cameron Simpson: "Re: vim question - comment multiple lines"
- In reply to: Didier Casse: "Re: vim question - comment multiple lines"
- Next in thread: Didier Casse: "Re: vim question - comment multiple lines"
- Reply: Didier Casse: "Re: vim question - comment multiple lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|