From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 10:11:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAF0816A404 for ; Wed, 14 Mar 2007 10:11:48 +0000 (UTC) (envelope-from bstitt@tsys.com) Received: from tsys.com (nc01.mail.tsys.com [63.150.75.25]) by mx1.freebsd.org (Postfix) with ESMTP id 803A213C46C for ; Wed, 14 Mar 2007 10:11:48 +0000 (UTC) (envelope-from bstitt@tsys.com) Received: from ([125.50.1.11]) by imnctsyssa01.tsys.com with ESMTP id KP-BRCRN.11119574; Wed, 14 Mar 2007 05:56:27 -0400 To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: bstitt@tsys.com Date: Wed, 14 Mar 2007 05:56:26 -0400 X-MIMETrack: Serialize by Router on Dotsnm1/TotalSystem(Release 6.5.5|November 30, 2005) at 03/14/2007 05:56:27 AM, Serialize complete at 03/14/2007 05:56:27 AM X-Mailman-Approved-At: Wed, 14 Mar 2007 11:26:56 +0000 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Need a good Unix script that.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 10:11:48 -0000 Hello, I'm trying to write a script to delete all line that include a certain pattern in an output file. I sending information to one of our Security people and they take this data and create a spreadsheet on the information, I have a constant reoccurring lines within the output file that they do not need. I'm trying to use the sed command to remove lines that fits a certain pattern but it does not appear to remove anything. Any helpful ideas or any useful links to scripts. Thanks so much.. Bruce Stitt TSYS Hosting Services Voice 706-644-0965 ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. The information may also constitute a legally privileged confidential communication. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you