View Single Post
  #2 (permalink)  
Old 06-28-2008, 05:26 AM
neelima.rai neelima.rai is offline
Junior Member
 
Join Date: Jun 2008
Location: Bangalore
Posts: 10
Default

n char in a file can be replaced using sed command as follows

sed s/n/abc/g filename > filename -> to replace all n chars with abc in file filename

sed s/n/abc/g filename -> just to view the changes
Reply With Quote