On 2018-10-31 16:50, Scott Rifenbark wrote:

Can you tell me why "123456" is also not removed? That string contains instances of "123" and "456"


Because it removes all occurrences of the list value "123" and not of value "123456" or any part of it. Otherwise, it would be impossible to use this function to only remove, say, "1" from a long list of numbers. (here 'value' is not limited to a number).

-- Bas.


Thanks,
Scott

On Wed, Oct 31, 2018 at 12:15 AM Robert Berger <yocto.user.mailingl...@gmail.com> wrote:

Hi Scott,

On 31.10.18 00:06, Scott Rifenbark wrote:

I have an initial section at
https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release,
which is based on Richard's input.  I am sure there are more items.

You might want to add a link to the bitbake manual or some example from
there for the new functionality of _remove operator:

http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334

FOO = "123 456 789 123456 123 456 123 456"
FOO_remove = "123"
FOO_remove = "456"

FOO is now: "  789 123456    " instead of "789 123456"


Thanks,
Scott

Regards,

Robert


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to