About 331,000 results
Open links in new tab
  1. How can I do a 'change word' in Vim using the current paste buffer?

    To replace the text manually I could do cw and then type the new word. How can I do a 'change word', but use the contents of my paste buffer instead of manually typing out the replacement …

  2. Replace exact word with another in shell with tr command

    I want to replace a word with another word in a text file. file.txt : alireza fallah my code : cat file.txt | tr ali ALI but I get this : ALI fALLAh it replace all 'a's to 'A' , and 'l's to '...

  3. How can I replace text after a specific word using sed?

    How can I replace text after a specific word using sed? Ask Question Asked 12 years, 9 months ago Modified 5 years, 1 month ago

  4. Using sed to replace nth occurrence of a word

    May 20, 2020 · Related: How to add text before the N th occurrence of a text using sed only?, sed or awk: replace only the n-th occurrence of a string, How to delete the n-th word from standard …

  5. Use sed to find whole word and replace - Unix & Linux Stack …

    Use sed to find whole word and replace Ask Question Asked 12 years, 7 months ago Modified 10 years, 5 months ago

  6. text processing - How to Read every word from a file and Replace …

    Dec 16, 2021 · I need to read every full word from each line of a file and replace every occurrence of that word (if found anywhere in the file) using sed or awk with the word from another file. …

  7. bash - How can I replace a word with another word in a whole …

    Nov 22, 2021 · 0 I have a hierarchy of files and two words: word1 and word2. In this hierarchy of files, some of them can contain word1. I want to replace every occurrence of word1 with …

  8. how to rename multiple files by replacing string in file name? this ...

    Dec 20, 2014 · To replace # by somethingelse for filenames in the current directory (not recursive) you can use the (Perl-) rename utility: rename 's/#/somethingelse/' * Characters like - must be …

  9. How can I paste (overwriting) with vim? - Unix & Linux Stack …

    Apr 18, 2019 · In vim I use yy and p all the time to yank and paste lines. However, if I want to replace one line multiple places in the file, I can't use yy p dd p because the dd deletes the line …

  10. How will I replace a wrong word through a whole document

    Hi Muench Don, Replacing a word through whole document in Word 2010 can be very helpful especially if you consistently misspell a word in a large document in Word 2010. The following …