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 / supreet goswami
sed-i "s| amaze |delight|g" filename
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I run a bash script?
What are the differences among a system call, a library function, and a unix command?
How does pipe () work?
What is the use of the tee command?
What will the following command do?
what is the advaantage of each user having its own copy of the shell?
What is ctrl d?
What are filter commands in unix?
What is the use of finger command?
What does pipe () return?
What is sed awk grep?
Which unix command to make a new directory?
How do I search a whole word in vim?
What is unix command?
how to sort the content of the file based on numeric values