i just noticed something - 'pacman -Ss' (without a search string) with actually give u the complete list of packages in the db (i suppose), but 'pacman -Qs' (without a search string) will return nothing??? You have to give it say a ' ' ("space") as a search string in order for it to return u the list of installed local packages.
that's kind of a bit odd, isnt it, how the two searches kind of work "differently"? anyway, just some feedback...
I believe that just doing pacman -Q will give you a complete list of locally installed packages. If you wanted to refine this search you could just pipe it through grep.
oh hey, i wasnt thinking about '-Q', but thanks. It is different from the output of '-Qs <space>', but yeah, that'll do for a complete list of installed packages.