substitute pattern with another patter in vi

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
kabucek
Forum Commoner
Posts: 50
Joined: Thu Sep 04, 2008 2:20 pm

substitute pattern with another patter in vi

Post by kabucek »

hello,

I have the large file (textfile)
there are word:
code-007100
...
code-007199

How to substitute those all words(using vi editor), so it will change all instances
to:
code-007200
...
code-007299

Thanks
Post Reply