On Fri, 15 Jan 2010 07:37:49 -0800 (PST) gahn wrote: > I am trying to add a word on every line (right in front of every line) via > vi. Right now I have:
> xxxxxxxxx > xxxxxxxxx > xxxxxxxxx Type this: :%s/^/"new word" / > after that, I want to have: > "new word" xxxxxxxxx > "new word" xxxxxxxxx > "new word" xxxxxxxxx > How could I do that with vi? -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ 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"