From owner-freebsd-ports@FreeBSD.ORG Thu Dec 17 13:51:44 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 385AE106566B for ; Thu, 17 Dec 2009 13:51:44 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id C27758FC0C for ; Thu, 17 Dec 2009 13:51:43 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1145129fgg.13 for ; Thu, 17 Dec 2009 05:51:42 -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:cc:content-type :content-transfer-encoding; bh=S31P974a18e3z5V6LVupnC2/nBPBrobAAO50tTcQfnk=; b=X6Y5wpbNGWKUiNW+NupPZ7esnE7DsYfjpKHbUVeZ5Ddpntq8uX+GpW6+Ru6hpW6r0e q6YcCKizbYPHKGaFEHzWnTQIVrseDHXLzaFdAnHPIt94eAeQcjYOjflrXSlr2CLFA5rV GcZZGZdDyg1YHTfL3EPEv1XELLOVM6TjfiWwE= 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 :cc:content-type:content-transfer-encoding; b=igjB86W7ozR74XB/3FhKXkngBS8+OhzDvS9qYD4tPZ3cRIOLIyH+Yz0ASLnIncRpn4 NIB6s9NA0UdDmeSvPu4NI2pWr8pxp8gU4Xjxvux5ZF+dQ5IjUWtOAvsts3GucR83Y/9c SacOtp+5joTUqbu1eiRN7yYj/Ftxgb25xLg1E= MIME-Version: 1.0 Received: by 10.239.181.11 with SMTP id k11mr230516hbg.203.1261057902681; Thu, 17 Dec 2009 05:51:42 -0800 (PST) In-Reply-To: <20091217071106.GA1401@photon.std> References: <4B295701.2000908@telenix.org> <20091217071106.GA1401@photon.std> Date: Thu, 17 Dec 2009 14:51:42 +0100 Message-ID: <6a3173850912170551r238b051dg4c4b76f4f2ad9c86@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 Cc: chuckr@telenix.org 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:51:44 -0000 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 befo= re, 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 m= e: >> >> 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