According to gahn <[email protected]> on Fri, 02/19/10 at 16:11: > > How could I use vi to repeat a word, say, 100 times in the same > line, of course with a space in between?
Edit your file: (vi xyz) On an empty line, enter: i<space>word<space>(esc) Back up (left arrow) to the front of this line (column zero) Enter this sequence: 2dw (the line will disappear) Enter this sequence: 100P (voila!) Regards, web... -- William Bulley Email: [email protected] 72 characters width template ----------------------------------------->| _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
