On Sunday 24 June 2012 04:18:07 Ben de Groot wrote:
> On 24 June 2012 02:32, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Saturday 23 June 2012 13:37:59 Michael Palimaka wrote:
> >> +for x in ${LANGS}; do
> >> + IUSE+=" linguas_${x}"
> >> +done
> >
> > if you don't want to make it into an array:
> > IUSE+=" $(printf 'linguas_%s ' ${LANGS})"
>
> What's wrong with the original? Why the subshell?
printf is faster than a for loop, and prettier imo
-mike