From owner-freebsd-ports@FreeBSD.ORG Thu Dec 17 13:56:26 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0E51065676 for ; Thu, 17 Dec 2009 13:56:26 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1CBD68FC21 for ; Thu, 17 Dec 2009 13:56:25 +0000 (UTC) Received: by fxm27 with SMTP id 27so1932523fxm.3 for ; Thu, 17 Dec 2009 05:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sZGj9UnMUigg4pPwMzLmEhVmbvSU/GwOmtaDvkDHZAc=; b=CxdR4kwbbu1U3USpOn4544ltg6G/Zsz4F0J3P0PQ6i9CbygBXWhYUfAWCen45hI2WM PLcMwKfFcmyfN/Bfj6Geb06aT4PvD48LbKTxBQGpcRxfqx4n3gxTniMkq0w5lFYHprnl LIrfuMdZKFMohVev7AMUE/1JP7xMFpJb3cTso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=yHolabP3BVJEacsZkRsS5Yq8257VR0Cc31q3HHKCXnFZRN8nA/fN0T1wDfwSBrJ6Ae SrQIYi8nyKLk2PKz8gEaLISubM8tXjdMz5ON69doPnp7yNSjta/UPNeECQlKPRx+EO9b UmeiBh4Z+vd2Eg6VkRfupBCEkySc6R09u9DLQ= MIME-Version: 1.0 Received: by 10.239.141.168 with SMTP id c40mr238448hba.146.1261058184800; Thu, 17 Dec 2009 05:56:24 -0800 (PST) In-Reply-To: <6a3173850912170551r238b051dg4c4b76f4f2ad9c86@mail.gmail.com> References: <4B295701.2000908@telenix.org> <20091217071106.GA1401@photon.std> <6a3173850912170551r238b051dg4c4b76f4f2ad9c86@mail.gmail.com> Date: Thu, 17 Dec 2009 14:56:24 +0100 Message-ID: <6a3173850912170556x34d0c4d2y7abaa0ee31bc62ce@mail.gmail.com> From: Troels Kofoed Jacobsen To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: trying to fix a sed line X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 13:56:26 -0000 On Thu, Dec 17, 2009 at 2:51 PM, Troels Kofoed Jacobsen wrote: > On Thu, Dec 17, 2009 at 8:11 AM, Troels Kofoed Jacobsen > wrote: >> On Wed, Dec 16, 2009 at 04:54:09PM -0500, Chuck Robey wrote: >>> I don't do enough in sed .... if I could figure out what it is that the= broken >>> line is TRYING to do, I think maybe I could fix it, I HAVE used sed bef= ore, and >>> I know about the s command, and how it sets it's delimiters. =A0Anyhow,= here's the >>> broken line, and I hope my mailer doesn't decide to break the line for = me: >>> >>> REINPLACE_ARGS=3D -i.bak -E -e "1s,^(\#!.* )python$$,\1 -S PYTHONPATH= =3D${DATADIR} >>> ${PYTHON_CMD},1" > > It could also be a problem that REINPLACE_CMD expands to "sed -i" or > something like this, but you also give it the same flag! > > /Troels Kofoed Jacobsen > Forget what I just said: Mk/bsd.port.mk: REINPLACE_ARGS?=3D -i.bak this also confirms that your -i.bak is not a problem! --=20 Med Venlig Hilsen Troels Kofoed Jacobsen