|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Vi editor help
NEVER MIND
I need to go through a long file and change masters { 10.9.69.2; 192.168.1.1; }; to masters { 192.168.1.1; }; I know that I can do it in VI with :s/10.9.69.2;// but when I try it gives me the error Substitue pattern match failed I just want to have the one address 192.168.1.1; What is the correct syntax please? thanks |
|
#2
|
|||
|
|||
|
:%s/10.9.69.2;//
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Vi editor help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|