From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 07:19:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE0A916A4CE for ; Fri, 9 Jan 2004 07:19:51 -0800 (PST) Received: from franklin-belle.com (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2E9243D80 for ; Fri, 9 Jan 2004 07:19:39 -0800 (PST) (envelope-from jacks@sage-american.com) Received: from sagea (sagea.sage-american [10.0.0.3]) by franklin-belle.com (8.12.8p2/8.12.8) with SMTP id i09FJc0j029713 for ; Fri, 9 Jan 2004 09:19:38 -0600 (CST) (envelope-from jacks@sage-american.com) Message-Id: <3.0.5.32.20040109091937.014b2378@10.0.0.15> X-Sender: jacks@10.0.0.15 X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 09 Jan 2004 09:19:37 -0600 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=0.1 required=4.5 tests=AWL autolearn=ham version=2.60-sageame.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.60-sageame.rules_v1 (1.212-2003-09-23-exp) on franklin-belle.com Subject: Scripting help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 15:19:52 -0000 Dear list: I hope think this is not off-topic, and is just about running a script in FBSD to delete specific lines in a flat file based on info in another flat file. My scripting skills are very limited and need help on how to purge my mail lists. We maintain several majordomo mail lists on a Tech magazine site (www.antennex.com) with 60,000 readers. Needless to say, it is real tedious to try and keep the lists up to date (groan). I have scripted a way to capture the bounces (by list) into a plain text file (1 address per line), but haven't figured out how to purge those from the lists. In other words, if the address is found in the bounce list, then delete from the main lists (also one address per line). I'd appreciate suggestions on how to do this. Thanks for any responses. :-) Best regards, Jack L. Stone, Administrator Sage American http://www.sage-american.com jacks@sage-american.com