From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DATE_IN_PAST_24_48,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mail11.speakeasy.net ([216.254.0.211]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 16388u-0001VZ-00 for gentoo-dev@cvs.gentoo.org; Sun, 11 Nov 2001 20:52:16 -0700 Received: (qmail 10234 invoked from network); 12 Nov 2001 02:53:45 -0000 Received: from unknown (HELO yde.flatmonk.org) ([66.92.103.162]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Nov 2001 02:53:45 -0000 Received: from agriffis by yde.flatmonk.org with local (Exim 3.33 #1 (Debian)) id 1637DU-0006fd-00 for ; Sun, 11 Nov 2001 21:52:56 -0500 From: Aron Griffis To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] sed "" file| cat > file Message-ID: <20011111215256.A25634@yde.flatmonk.org> Mail-Followup-To: gentoo-dev@cvs.gentoo.org References: <32850.63.204.249.241.1005533389.squirrel@www.portablehole.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32850.63.204.249.241.1005533389.squirrel@www.portablehole.net> User-Agent: Mutt/1.3.22.1i X-Mailer: Mutt http://www.mutt.org/ X-Editor: Vim http://www.vim.org/ Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Nov 11 20:53:01 2001 X-Original-Date: Sun, 11 Nov 2001 21:52:56 -0500 X-Archives-Salt: 0acf9c22-4797-4b1b-ba66-72459775b2f4 X-Archives-Hash: 17ef4d661ccf043cb6d76eeb020008f2 jano wrote: [Sun Nov 11 2001, 09:49:49PM EST] > I don't understand why this works for some and not for others; is it an > issue of system performance? It's a race condition, and it should never be done. Instead, ebuild authors should use dosed, which is exactly for this purpose. dosed 's/foo/bar/' Makefile Aron