From: | "Michał Górny" <gentoo@××××××××××.pl> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Cc: | vivo75@×××××.com | ||
Subject: | Re: [gentoo-dev] Re: use_echo() as a universal '?:' operator-like function | ||
Date: | Sat, 11 Sep 2010 18:46:17 | ||
Message-Id: | 20100911204457.46137811@pomiocik.lan | ||
In Reply to: | Re: [gentoo-dev] Re: use_echo() as a universal '?:' operator-like function by Francesco R |
1 | On Sat, 11 Sep 2010 20:26:17 +0200 |
2 | Francesco R <vivo75@×××××.com> wrote: |
3 | |
4 | > echo $(use_case useA,echoA useB,echoB ,echoC) |
5 | |
6 | I would personally rather use: |
7 | echo $(use_case useA,echoA useB,echoB echoC) |
8 | |
9 | but AFAICS your implementation should support both. |
10 | |
11 | PS I suggest using [[ -z ${u} ]] instead. |
12 | |
13 | -- |
14 | Best regards, |
15 | Michał Górny |
16 | |
17 | <http://mgorny.alt.pl> |
18 | <xmpp:mgorny@××××××.ru> |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: use_echo() as a universal '?:' operator-like function | "Petteri Räty" <betelgeuse@g.o> |