Gentoo Archives: gentoo-dev

From: "Diego \\\"Flameeyes\\\" Pettenò" <flameeyes@×××××××××××××.de>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] perl, sed and non-gsed
Date: Tue, 29 Mar 2005 15:25:49
Message-Id: 200503291724.01161@enterprise.flameeyes.is-a-geek.org
In Reply to: Re: [gentoo-dev] perl, sed and non-gsed by Aaron Walker
1 On Tuesday 29 March 2005 06:58, Aaron Walker wrote:
2 > FYI Ciaran and Diego, sed is aliased to gsed on BSD.
3 I know, but this is, imho, an ugly workaround :)
4 As sed is quite standard, a good solution could be having portage use sed in
5 the standard way, so that the alias is not needed anymore.
6 It's a long shot, but when all the calls of sed will be standard, we could
7 drop dependence on gsed and use it as a virtual package.. this will drop a
8 package both on *bsd and osx.
9
10 As nothing could be considered a regression in moving sed to standard
11 (argument disposition is just a little change, also other changes needed, for
12 example grouping similar regexp in a single script, are just minimal
13 changes), all the gsed functions used by portage are available on normal sed,
14 and normal sed syntax is understood by gsed, having not to depend on gnu sed
15 is something useful, from my point of view.
16
17 --
18 Diego "Flameeyes" Pettenò
19 http://wwwstud.dsi.unive.it/~dpetteno/

Replies

Subject Author
Re: [gentoo-dev] perl, sed and non-gsed Ciaran McCreesh <ciaranm@g.o>
Re: [gentoo-dev] perl, sed and non-gsed Stephen Bennett <spb@g.o>