Summary: | app-portage/esearch - exclude feature | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Michael Elbaum <michael.elbaum> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | aranea |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Elbaum
2007-10-11 09:33:37 UTC
I'm not a dev, so I will just tell you what I would do in these cases: esearch -c spell | grep -v myspell Thanks for the suggestion, but this only drops the title lines, not the 6 lines with version, description, etc. It works well with esearch -c esearch is not being maintained by the upstream developer anymore, so this will need a patch to be added. However, esearch does support python regular expressions and the following will exclude anything that starts with my but contains spell in the name: esearch '^(?!my).*spell.*' to also exclude apell and ispell, the following would work: esearch '^(?!my|a|i).*spell.*' Regular expressions are not intuitive to use, but they give you the power to search for pretty much anything. I agree that this feature is not really needed, but I implemented it nevertheless. It's already in the upstream repos and should be contained in the next release. This feature is now in our new development repo since the original upsteam is no longer. https://github.com/fuzzyray/esearch It will also be available in esearch-9999 (live ebuild) which is in the tree. Please test and report any bugs. This was released in esearch-1.2 |