> | > Just what do you think will happen when another eclass sets
> | > IUSE="Xaw3d"?
> |
> | Specially for you and your pink elephants:
> | E_IUSE=${E_IUSE// X }
> | E_IUSE=${E_IUSE#X }
> | E_IUSE=${E_IUSE% X}
>
> No go. Arbitrary whitespace is allowed.
I thought that you really know what you are talking about, but now I have no
doubts that you don't:
E_IUSE=${E_IUSE// X } - deletes every X with whitespace around it.
E_IUSE=${E_IUSE#X } - deletes X if there is one at the beginning
E_IUSE=${E_IUSE% X} - deletes X if there is one at the end
No more X left.
--
Piotr Jaroszyński
Gentoo Developer
--
[email protected] mailing list