From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 15:32:16 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 4968E16A409 for ; Wed, 14 Mar 2007 15:32:16 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0353A13C48A for ; Wed, 14 Mar 2007 15:32:15 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so203468wxc for ; Wed, 14 Mar 2007 08:32:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=d2DJiWCt2R4op2BXgVBV9Lkbsa0JHWFFUjZRrqiShhS03CYad7QgfowBUKmsVNluCl3FPyeJi4OJaY359tJbMOYx3mFbqKAM0mVD8GP6LXkKFb4L0pTf8kf16gVfE2AdFMp0uf+V18qD1oA0bC4P89bcgkeHUo1cPr4SepWKd60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=m4nYSR+847IFD7tj6iO9OqudzLQo0CRBNBiIdEmlQHXBXibaOHVrC3lQR1+8hgNQQcSOA8f2VH5Sj8rT72dEIb2MqDbBXqTf5UJba+0cjiPnRQoy7e4mXL4u4nSEkQkCNQi/1d1UnCi8whx7yRYvRhNk2gkYsgJXPOOGKprNC6k= Received: by 10.70.89.19 with SMTP id m19mr3934021wxb.1173886334987; Wed, 14 Mar 2007 08:32:14 -0700 (PDT) Received: from ?192.168.87.103? ( [67.165.117.123]) by mx.google.com with ESMTP id i19sm13702314wxd.2007.03.14.08.32.13; Wed, 14 Mar 2007 08:32:14 -0700 (PDT) Message-ID: <45F81146.9030000@gmail.com> Date: Wed, 14 Mar 2007 07:14:14 -0800 From: Kurt Buff User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bstitt@tsys.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Need a good Unix script that.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt.buff@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 15:32:16 -0000 bstitt@tsys.com wrote: > 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 grep -v man grep