1 |
On Mon, 28 Mar 2005 18:06:17 +0200 "Diego \"Flameeyes\" Pettenò" |
2 |
<flameeyes@×××××××××××××.de> wrote: |
3 |
| Please also note that using a sintax like that: |
4 |
| |
5 |
| sed -e expression file file file -i |
6 |
| |
7 |
| just works on gsed, but doesn't work with other sed implementations |
8 |
| (bsdish, macos, solaris, ...). -i must be put before any -e! |
9 |
| |
10 |
| Please update the erroneous ebuild, as these could make problems when |
11 |
| gentoo/non-linux-os . |
12 |
|
13 |
Erm. No. Supporting -i is a requirement for any sed that is used by |
14 |
ebuilds. If your native sed doesn't do it, you must provide a sed alias |
15 |
to, say, GNU sed when in an ebuild environment. We already went over |
16 |
that with the osx thing. Switching is infeasible. |
17 |
|
18 |
Historically, any ebuild using sed -i would have a hard DEPEND upon |
19 |
GNU sed-4. These were removed when GNU sed-4 became part of the |
20 |
profiles, but as they're system deps you should consider GNU sed 4 a |
21 |
requirement for your arch. |
22 |
|
23 |
-- |
24 |
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools) |
25 |
Mail : ciaranm at gentoo.org |
26 |
Web : http://dev.gentoo.org/~ciaranm |