Try the following.

perl -p -i.bak -e 's/mx\t600\tIN\tA\t4.79.140.190/ /' *.db


On 2/23/07, Jeff Lasman <[log in to unmask]> wrote:
On Friday 23 February 2007 11:24 am, Clay Wells wrote:

> sed -e '/^mx/d' < mxremove.txt > mxremoved.txt

Yes, except I don't want to remove both lines, just the mx<tab> line.

However, I've solved that problem.  I can change mx0 to ffff in all
files easily enough, temporarily, and change them back later.  So this
works.

However, it's the loop code that's driving me crazy.

Help.

Thanks.

Jeff
--
Jeff Lasman, Nobaloney Internet Services
1254 So Waterman Ave., Suite 50, San Bernardino, CA  92408
Our blists address used on lists is for list email only
Phone +1 909 266-9209, or see: " http://www.nobaloney.net/contactus.html"



--
|||
τΏτ     -cc
 ~
 '