Gentoo Archives: gentoo-dev

From: Mikael Hallendal <hallski@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] sed "" file| cat > file
Date: Mon, 14 Jan 2002 04:15:09
Message-Id: 1011003362.994.20.camel@fluffy
In Reply to: Re: [gentoo-dev] sed "" file| cat > file by Aron Griffis
1 mån 2001-11-12 klockan 03.52 skrev Aron Griffis:
2 > jano wrote: [Sun Nov 11 2001, 09:49:49PM EST]
3 > > I don't understand why this works for some and not for others; is it an
4 > > issue of system performance?
5 >
6 > It's a race condition, and it should never be done. Instead, ebuild
7 > authors should use dosed, which is exactly for this purpose.
8 >
9 > dosed 's/foo/bar/' Makefile
10
11 Is this supposed to work?
12
13 It doesn't do anything for me.
14
15 Regards,
16 Mikael Hallendal
17
18 --
19 Mikael Hallendal
20 Gentoo Linux Developer, Desktop Team Leader
21 CodeFactory AB, Stockholm, Sweden

Replies

Subject Author
Re: [gentoo-dev] sed "" file| cat > file Chris Houser <chouser@g.o>