From owner-freebsd-current Fri Sep 8 16:47:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id C653337B505 for ; Fri, 8 Sep 2000 16:47:50 -0700 (PDT) Received: by gw.nectar.com (Postfix, from userid 1001) id 45DCB1925A; Fri, 8 Sep 2000 18:47:49 -0500 (CDT) Date: Fri, 8 Sep 2000 18:47:49 -0500 From: "Jacques A. Vidrine" To: Neil Blakey-Milner Cc: Matthew Thyer , current@freebsd.org Subject: Re: /usr/local/etc/rc.d and /etc/rc.d Message-ID: <20000908184749.C1317@spawn.nectar.com> References: <39B8E865.B77012B@camtech.net.au> <20000908153421.A58134@mithrandr.moria.org> <39B8F928.C9F4339@camtech.net.au> <20000908164715.A59499@mithrandr.moria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000908164715.A59499@mithrandr.moria.org>; from nbm@mithrandr.moria.org on Fri, Sep 08, 2000 at 04:47:15PM +0200 X-Url: http://www.nectar.com/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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