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