Substitute a Keyword In a File
October 9th, 2006 liewsheng
Sometime I need to replace a keyword with another, I can’t just open a file and substitute 1 by 1. It is faster to using a single command line. There have more than 2 ways to do it, but I prefer this 2 command: perl and sed.
To substitute a word ‘abc’ to ‘def’ in [...]
Posted in Text Manipulation, perl, sed | Hits: 5647 | 2 Comments »
Live Chat!








