Quote:
Originally posted by trickykid
or you can open up something like vi and do this command in command mode:
1:$ s/added://g
|
I know how sed works so it doesn't have any connection with this thread, but I'm curious how do you do this with vi. Because I've been a couple of times in the situation to have to exit vi, call a sed and after this go back to vi. Is it possible to do this directly from vi? I trid to write "s/.../.../g" in vi command line but it didn't work. How do you do it? I couldn't find anything in the manual page of vi either.