The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-08-2007
ranj@chn ranj@chn is offline
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
check this

Code:
sed 's/^\(.*\) \(.*:\)\(.*\)$/\1x\3/g' testfile
Reply With Quote