The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to change the content thru sed.....
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
how to change the content thru sed.....
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
09-19-2007
Yogesh Sawant
Part Time Moderator and Full Time Dad
Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 827
An alternative in
Perl
:
Code:
perl
-pi -e "s/(CS007=)NEW/\1UPDATE/" noname.txt
but probably this doesn't fit your requirement
Yogesh Sawant
View Public Profile
Visit Yogesh Sawant's homepage!
Find all posts by Yogesh Sawant