Thread
:
find a word in a file, and change a word beneath it ??
View Single Post
#
3
(
permalink
)
02-14-2008, 01:53 AM
vikas027
Member
User
Join Date: Oct 2007
My distro: Linux RHEL 5
Posts: 33
Rep Power:
0
Quote:
Originally Posted by
agn
Code:
sed '/police/,/^browse/ s/no/yes/' filename
Try that.
thanks a lot,
will try this code & revert.
vikas027
View Public Profile
Send a private message to vikas027
Find all posts by vikas027