From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 16:01:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 442CB16A41F for ; Fri, 28 Oct 2005 16:01:46 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from bristolsystems.com (h-68-167-239-98.lsanca54.covad.net [68.167.239.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id F08BD43D45 for ; Fri, 28 Oct 2005 16:01:45 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([192.168.1.201]) by bristolsystems.com (8.11.6/8.11.6) with ESMTP id j9SG1cn06202; Fri, 28 Oct 2005 09:01:38 -0700 From: "Gayn Winters" To: , Date: Fri, 28 Oct 2005 09:01:28 -0700 Message-ID: <08af01c5dbd8$de629a30$c901a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <20051028153731.GA17232@alexis.mi.celestial.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: Subject: RE: Sed howto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gayn.winters@bristolsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 16:01:46 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of=20 > Bill Campbell > Sent: Friday, October 28, 2005 8:38 AM > To: freebsd-questions@freebsd.org > Subject: Re: Sed howto >=20 >=20 > On Fri, Oct 28, 2005, K=F6vesd=E1n G=E1bor wrote: > >Hello, > > > >I'm looking for a good sed howto that can be useful for=20 > contributing to ports collection. Replacing text is I'm especially interested in.=20 > >Besides, could somebody explain me, when we use=20 > USE_REINPLACE=3D YES and ${REINPLACE_CMD}, and when we use just = ${SED}? >=20 > It isn't a HOWTO, but the best sed documentation I've ever=20 > read is in the book ``Unix Text Processing'' by Dougherty and O'Reilly. I=20 > think it's out of print, but you can download it in PDF format from O'Reilly=20 > for free. It also has excellent documentation on quite a few other *nix=20 > utilities, and is one of those books that I think should be on every *nix hackers > bookshelf along with Kernighan and Pike's ``Unix Programming=20 > Environment''. >=20 > Bill > -- I concur. The 20 pages on sed are probably part of what you want. It doesn't answer your "besides..." however. Perhaps someone else can help there. Here's a link to O'Reilly: http://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com=20