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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-28-2008
raman1605 raman1605 is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 41
use escape sequence

sed "s\/${old_line}\/${new_line}\/" f

use escape sequence "\" and then try.