Hahaha. I was expecting this reply from the list! I should expand my knowledge in Vim too. But my PERL program still works and I wrote that in less than a minute to do the job.
I got your point. I'm still expanding my knowledge but the problem is that I've to expand my Physics knowledge at the same time. regards, Didier --- PhD student Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603 Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Website: http://ssls.nus.edu.sg www.microtronyx.com (Microtronyx Computer Consulting Group Singapore) On 10 Sep 2003, Jason Dixon wrote: > 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:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list