Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586236 - ebuild(5) specifies incorrect behaviour of `has`
Summary: ebuild(5) specifies incorrect behaviour of `has`
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2016-06-17 21:13 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2016-06-17 21:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2016-06-17 21:13:00 UTC
>        has <item> <item list>
>              If  item is in item list, then has returns 0. Otherwise, 1 is returned. There is another version,
>              hasv, that will conditionally echo item.
>              The item list is delimited by the IFS variable.  This variable has a default value of ' ',  or  a
>              space.  It is a bash(1) setting.

In fact it doesn't split arguments and PMS agrees with this behaviour.