'apt-cache search' question
There was recently a question about which .deb added GIF capability to
the gimp. Using 'apt-cache search gimp gif' did not return the correct
answer. The man page for apt-cache says:
search search performs a full text search on all available package
files for the regex pattern given. It searchs the package names
and the descriptions for an occurance of the string and prints
out the package name and the short description.
The problem seems to be that the word 'gimp' appears only in the package
name and the word 'gif' appears only in the description.
Shouldn't the search treat the package name and the description as a
single string? Doing so would have given the correct answer for the
above query.
--
"He who has never hoped can never despair."
-- George Bernard Shaw
Rick Pasotto rick@niof.net http://www.niof.net
Reply to: