Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] perl, sed and non-gsed
Date: Tue, 29 Mar 2005 16:57:48
Message-Id: 20050329175648.123efc19@snowdrop
In Reply to: Re: [gentoo-dev] perl, sed and non-gsed by "Diego \\\"Flameeyes\\\" Pettenò"
1 On Tue, 29 Mar 2005 17:23:55 +0200 "Diego \"Flameeyes\" Pettenò"
2 <flameeyes@×××××××××××××.de> wrote:
3 | On Tuesday 29 March 2005 06:58, Aaron Walker wrote:
4 | > FYI Ciaran and Diego, sed is aliased to gsed on BSD.
5 | I know, but this is, imho, an ugly workaround :)
6 | As sed is quite standard, a good solution could be having portage use
7 | sed in the standard way, so that the alias is not needed anymore.
8
9 sed is a standard (POSIX/SuS). Unfortunately, a sed which only follows
10 the standard is a pain in the ass to work with because it supports so
11 little, hence the decision that was made a while back to standardise on
12 GNU sed 4.
13
14 This isn't like find or tar or similar, where switching GNU syntax to
15 POSIX is pretty trivial. There are a *lot* of extensions in GNU sed, and
16 we use them.
17
18 --
19 Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
20 Mail : ciaranm at gentoo.org
21 Web : http://dev.gentoo.org/~ciaranm

Replies

Subject Author
Re: [gentoo-dev] perl, sed and non-gsed "Diego \\\"Flameeyes\\\" Pettenò" <flameeyes@×××××××××××××.de>