Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2] eclass/kernel-2.eclass: Remove use of tr in global scope
Date: Thu, 31 Aug 2017 18:55:06
Message-Id: 20170831185338.GA23586@waltdnes.org
In Reply to: Re: [gentoo-dev] [PATCH v2] eclass/kernel-2.eclass: Remove use of tr in global scope by Mike Pagano
1 On Thu, Aug 31, 2017 at 02:11:30PM -0400, Mike Pagano wrote
2 > On Thu, Aug 31, 2017 at 07:27:10PM +0200, Micha?? Górny wrote:
3 > > W dniu czw, 31.08.2017 o godzinie 12???33???-0400, u??ytkownik Mike Pagano
4 > > napisa??:
5 > > > As per PMS remove calls to external command 'tr' in global scope See bug #629106.
6 > >
7 > > Closes: https://bugs.gentoo.org/629106
8 > >
9 > > (assuming you want the bug closed)
10 > >
11 > > >
12 >
13 > Thanks for the review. Committed. It seems we are limited by PMS one
14 > way or the other. If someone has a better idea of doing this simple
15 > lowercase/uppercase change that satisifies PMS at all versions I am
16 > happy to revisit.
17
18 Is "sed -e" allowed? E.g.
19
20 [d531][waltdnes][~] echo "AbCd" | sed -e 's/\(.*\)/\L\1/'
21 abcd
22 [d531][waltdnes][~] echo "AbCd" | sed -e 's/\(.*\)/\U\1/'
23 ABCD
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>
27 I don't run "desktop environments"; I run useful applications

Replies