How to replace the exact word in vi editor??
suppose a file contains words like amaze,amazed,amazement in
some of the line.But i want to replace only 'amaze' with
delight but don't wanna replace amazed or amazement.
thanks
Answer Posted / kranthi kumar
:1,$s/amaze$/amazing/g
this will be changed only amaze in totalvi editor....
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are reported commands?
What are awk commands?
What is the nmap command?
What does sed command do in unix?
What is {} in find command?
Is it inbetween or in between?
Explain command to display different lines that are found when compare two files?
Which command should you use to find the remaining disk space in unix server?
What does #!/ Bin sh do?
Does cp command overwrite files?
What command is used to check the current users?
What will the following command do?
Can you explain a little bit about command substitution?
Is grep faster than awk?
How many unix commands are there?