The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replacing lines in text files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Replacing lines in text files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-28-2008
raman1605
Registered User
Join Date: Aug 2007
Posts: 41
use escape sequence
sed
"s\/${old_line}\/${new_line}\/" f
use escape sequence "\" and then try.
raman1605
View Public Profile
Find all posts by raman1605
Find raman1605's past nominations received
Find raman1605's present nominations given