Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 13:18:57 -0700
From:      Matthew Hunt <mph@astro.caltech.edu>
To:        "Crist J. Clark" <cjc@FreeBSD.org>
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>
In-Reply-To: <20020508125316.F94469@blossom.cjclark.org>; from cjc@FreeBSD.org on Wed, May 08, 2002 at 12:53:16PM -0700
References:  <20020507191959.GA26441@FreeBSD.ORG> <XFMail.20020507153353.jhb@FreeBSD.org> <20020507205541.GL36741@elvis.mu.org> <20020507221134.A26336@chiark.greenend.org.uk> <20020508125316.F94469@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@astro.caltech.edu> * 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




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