From owner-freebsd-questions Wed Nov 8 14:33: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 70F2237B479 for ; Wed, 8 Nov 2000 14:32:59 -0800 (PST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 5FB096A901 for ; Wed, 8 Nov 2000 23:32:58 +0100 (CET) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id A606E94028C; Wed, 08 Nov 2000 23:39:02 +0100 Message-Id: <5.0.0.25.0.20001108232905.02799040@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 08 Nov 2000 23:32:55 +0100 To: freebsd-questions@freebsd.org From: Len Conrad Subject: a little help with sed Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like to remove \n and concat two lines when the last word of first line is a certain value but all of my reading and playing has only gotten me to this non-working "concept" : sed -e s/"lastword"\n/"lastword"/g newfile any sedistas care to take a shot? Tks, Len http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message