From owner-freebsd-ports@FreeBSD.ORG Wed Dec 16 21:53:30 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 7BA18106566B for ; Wed, 16 Dec 2009 21:53:30 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 61A138FC16 for ; Wed, 16 Dec 2009 21:53:30 +0000 (UTC) Received: (qmail 16521 invoked from network); 16 Dec 2009 21:53:29 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 16 Dec 2009 21:53:29 -0000 Message-ID: <4B295701.2000908@telenix.org> Date: Wed, 16 Dec 2009 16:54:09 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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: Wed, 16 Dec 2009 21:53:30 -0000 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 before, and I know about the s command, and how it sets it's delimiters. Anyhow, here's the broken line, and I hope my mailer doesn't decide to break the line for me: REINPLACE_ARGS= -i.bak -E -e "1s,^(\#!.* )python$$,\1 -S PYTHONPATH=${DATADIR} ${PYTHON_CMD},1" should be only a single space between ${DATADIR} and ${PYTHON_CMD}, my mailer put a line break in there for me ... If you care, this came from editors/spe/Makefile.