From owner-freebsd-questions@freebsd.org Fri Mar 4 15:12:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C6D09DB38B for ; Fri, 4 Mar 2016 15:12:58 +0000 (UTC) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 07D4737C for ; Fri, 4 Mar 2016 15:12:58 +0000 (UTC) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) Received: by mailman.ysv.freebsd.org (Postfix) id 06A199DB38A; Fri, 4 Mar 2016 15:12:58 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 063749DB389 for ; Fri, 4 Mar 2016 15:12:58 +0000 (UTC) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) Received: from 3s1.com (3s1.com [162.213.106.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "3s1.com", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C3BDD37B for ; Fri, 4 Mar 2016 15:12:57 +0000 (UTC) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.9/8.14.9) with ESMTP id u24FCtZd025525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Mar 2016 10:12:55 -0500 (EST) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.9/8.14.9/Submit) id u24FCs6v025524 for questions@freebsd.org; Fri, 4 Mar 2016 10:12:54 -0500 (EST) (envelope-from david+dated+1457536373.cf8c5b@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1457536373.cf8c5b@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Fri, 04 Mar 2016 10:12:53 -0500 Date: Fri, 4 Mar 2016 10:12:52 -0500 To: questions@freebsd.org Subject: Re: sed help please Message-ID: <20160304151251.GA25378@skytracker.ca> References: <20160304040536.GA7729@skytracker.ca> <56D987DD.8080801@qeng-ho.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56D987DD.8080801@qeng-ho.org> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 15:12:58 -0000 I confused things by trying to simplify them. The crux of it is that I am trying to eliminate malware from a mysql database. I have dumped the database into a csv file to get rid of the malware lines. Here is a clip; .....","The..... So I am trying to eliminate the piece of code that starts with "" If course I also want to eliminate those tags. I would be fine with sed, awk anything else that works.