Suppose I want to search for the packet
luasocket in OpenSUSE, but I don't know if it's called
socket-lua or who knows what.
Therefore I make a search:
zypper se lua socket
The problem with this is it shows both packages containing
lua keyword and also packets containing
socket keyword, thus filling my screen with results I don't want.
zypper search --help tells the following:
Command options: --match-all Search for a match with all search strings (default). --match-any Search for a match with any of the search strings.
--match-all does not seem to work the way I expect. How can I AND terms when searching packets in OpenSUSE?
Note: If possible in a cleaner way than:
zypper se lua | grep socket