On 14-03-05 18:05:45, Dave Reisner wrote: > > +Display the size of PACKAGES. Duplicates are removed if any. The local > > database > > +is queried first; if the package is not found, the sync database is then > > used > > +for lookup. > > Duplicates seem rather unexpected given the explanation that follows. > You're querying either the local DB *or* the sync DB as a fallback. If > there's duplicates, it's an implementation bug, no?
Forget my previous answer, I wasn't following... ;P Duplicates have nothing to do with the db, it's in case there are duplicate in ARGV. This can happen if you use the output of another command; for instance: $ pacsize $(pactree -l linux) Indeed, $ pactree -l linux | sort -u | wc -l 59 $ pactree -l linux | wc -l 131 -- Pierre Neidhardt Yesterday upon the stair I met a man who wasn't there. He wasn't there again today -- I think he's from the CIA.
