Thread
:
find a word in a file, and change a word beneath it ??
View Single Post
#
2
(
permalink
)
02-13-2008, 10:30 PM
agn
Member
User
Join Date: Feb 2008
My distro: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Rep Power:
1
Code:
sed '/police/,/^browse/ s/no/yes/' filename
Try that.
Last edited by agn; 02-14-2008 at
12:28 AM
..
agn
View Public Profile
Send a private message to agn
Find all posts by agn