Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 18:47:49 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc:        Matthew Thyer <thyerm@camtech.net.au>, current@freebsd.org
Subject:   Re: /usr/local/etc/rc.d and /etc/rc.d
Message-ID:  <20000908184749.C1317@spawn.nectar.com>
In-Reply-To: <20000908164715.A59499@mithrandr.moria.org>; from nbm@mithrandr.moria.org on Fri, Sep 08, 2000 at 04:47:15PM %2B0200
References:  <39B8E865.B77012B@camtech.net.au> <20000908153421.A58134@mithrandr.moria.org> <39B8F928.C9F4339@camtech.net.au> <20000908164715.A59499@mithrandr.moria.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 08, 2000 at 04:47:15PM +0200, Neil Blakey-Milner wrote:
> Note the excessive use of "perl -i -pe 's/foo/bar/'" for in-place
> substitution. I've asked on at least two occasions for a simple,
> easy-to-use, thing to do it without doing a two-liner that copies to
> another file, and then replaces the old file with the new file.

If it weren't for perl, we'd probably already have `sed -i' :-)

-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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