Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2009 17:01:24 -0500
From:      Sean McAfee <smcafee@collaborativefusion.com>
To:        Chuck Robey <chuckr@telenix.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: trying to fix a sed line
Message-ID:  <4B2958B4.7070307@collaborativefusion.com>
In-Reply-To: <4B295701.2000908@telenix.org>
References:  <4B295701.2000908@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 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.

Missing space between the -i and the extension?

-- 
Sean McAfee
Senior Systems Engineer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B2958B4.7070307>