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
How do I run a whois command?
What is a bash command?
Is grep faster than awk?
What does pipe () return?
What are file commands?
why metadb requires a seperate slice to create Solaris volume manager
What is a command and examples?
Is command prompt unix?
What does this command do,"$more readme.txt“?
How do I find previous commands in unix?
What is the behavioural difference between cmp and diff commands?
Can you explain a little bit about command substitution?
What is the use of cut command in unix?
What are the general commands in using unix os for a beginner?
Explain command to display different lines that are found when compare two files?