Summary: | ebuild(5) specifies incorrect behaviour of `has` | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sergey 'L29Ah' Alirzaev <zl29ah> |
Component: | Documentation | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
> 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.