From owner-cvs-all Wed May 8 13:20:52 2002 Delivered-To: cvs-all@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by hub.freebsd.org (Postfix) with ESMTP id E8C8137B93C; Wed, 8 May 2002 13:18:57 -0700 (PDT) Received: (from mph@localhost) by wopr.caltech.edu (8.11.6/8.9.3) id g48KIv157217; Wed, 8 May 2002 13:18:57 -0700 (PDT) (envelope-from mph) Date: Wed, 8 May 2002 13:18:57 -0700 From: Matthew Hunt To: "Crist J. Clark" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020508131857.A56676@wopr.caltech.edu> References: <20020507191959.GA26441@FreeBSD.ORG> <20020507205541.GL36741@elvis.mu.org> <20020507221134.A26336@chiark.greenend.org.uk> <20020508125316.F94469@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020508125316.F94469@blossom.cjclark.org>; from cjc@FreeBSD.org on Wed, May 08, 2002 at 12:53:16PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 08, 2002 at 12:53:16PM -0700, Crist J. Clark wrote: > IMHO, it would be much more logical to add an '-i' option to ed(1) and > an '-e' option for command line ed commands, > > $ ed -i old -e ',s/blah/blee/' somefile.txt I like your shed. None of the sed alternatives has really appealed to me, because I find the alternatives either aesthetically displeasing (-i "", -i/-I) or they violate whatever standard we're not supposed to be violating. FWIW, I'm also in the camp that gets annoyed when "perl -pie blah" doesn't work. -- Matthew Hunt * Clearly there are more things in the http://www.pobox.com/~mph/ * heavens than anyone anticipated. -enp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message