esearch would be even more wonderful if it could exclude particular hits. for example, if I'm looking for a spelling applet, the page is inundated with myspell. it would be nice to be able to do: "esearch --exclude mysell spell", or something like that. Reproducible: Always
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