Summary: | [Future EAPI] Wrapper for command exit status | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Ulrich Müller <ulm> |
Component: | PMS/EAPI | Assignee: | Package Manager Specification <pms> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, flow, kfm, kuraga333, mgorny, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=566342 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Ulrich Müller
![]() (In reply to Ulrich Müller from comment #0) > Also, are there any use cases other than grep? As pointed out by mgorny, in > many cases sed can be used instead of grep, in order to avoid exit status 1. If there aren't, we could alternatively think of just adding a wrapper for grep that would return 0 instead of 1. (Unfortunately, the name "egrep" is already taken ...) Again, not sure if it's worth the effort. |