Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
Subject: Re: [gentoo-dev] sed vs gsed
Date: Wed, 25 Jan 2006 00:33:57
Message-Id: 200601241930.13466.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] sed vs gsed by "Diego 'Flameeyes' Pettenò"
1 On Tuesday 24 January 2006 19:17, Diego 'Flameeyes' Pettenò wrote:
2 > On Wednesday 25 January 2006 00:48, Stephen Bennett wrote:
3 > > We've discussed this several times in the past, and every time the
4 > > answer has been that in the ebuild environment `sed` is gnu sed-4. It's
5 > > the only sane way to do things, since certain other platforms ship
6 > > retarded versions of sed.
7 >
8 > And as there's no current way to fix the invokation of sed from within
9 > xargs or find
10
11 yes there is
12
13 add a 'sed' wrapper to the portage bin dir which simply does:
14 exec gsed "$@"
15
16 > , I'm not going to ask to change _all_ the calls of sed, but
17 > just the ones done through those two or other scripts and things that won't
18 > honour aliases in bashrc.
19
20 that's a pita
21 -mike
22
23 --
24 gentoo-dev@g.o mailing list