According to gahn <ipfr...@yahoo.com> 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: w...@umich.edu 72 characters width template ----------------------------------------->| _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"