Skip to content

Instantly share code, notes, and snippets.

@pbrisbin
Created March 20, 2011 20:08
Show Gist options
  • Select an option

  • Save pbrisbin/878628 to your computer and use it in GitHub Desktop.

Select an option

Save pbrisbin/878628 to your computer and use it in GitHub Desktop.
//blue/1/~/ pacman -Qqe > qqe
//blue/0/~/ pacman -Qqm > qqm
//blue/0/~/ cat qqe | grep -Fvx "$(cat qqm)" | head # useless cat on purpose
abcde
abook
abs
acl
acpid
alsa-lib
alsa-oss
alsa-utils
antiword
apache
//blue/0/~/ pacman -Qqe | grep -Fvx "$(pacman -Qqm)"
//blue/1/~/
@pbrisbin

Copy link
Copy Markdown
Author

FYI: $(pacman -Qqm </dev/null) fixes the issue until pacman 3.5.1 is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment