Date: Tue, 7 May 2002 15:13:03 -0400 From: Garrett Rooney <rooneg@electricjellyfish.net> To: John Baldwin <jhb@FreeBSD.org> Cc: "J. Mallett" <jmallett@FreeBSD.ORG>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Message-ID: <20020507191300.GB99742@electricjellyfish.net> In-Reply-To: <XFMail.20020507150637.jhb@FreeBSD.org> References: <20020507184519.GB28857@FreeBSD.ORG> <XFMail.20020507150637.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 07, 2002 at 03:06:37PM -0400, John Baldwin wrote: > It still would have been a good idea to send out the actual patch for review > on a public list. Personally, I won't use sed -i if it insists on leaving > backup files around that I have to go the trouble to delete. I might as well > just do sed 'foo' < foo > foo.bak. I only use -i when I'm not specifying a > backup extension. Those are the only times I use perl in fact, and thus I > will probably continue to use perl for such things. i agree that it would be considerably more useful if the extension was optional, but this is still better than "sed 'blah' < foo > foo.bak" since you end up with the modified version in 'foo' rather than in 'foo.bak'. -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski 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?20020507191300.GB99742>