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 perl, sed, Text Manipulation | Hits: 33647 | 4 Comments »






