Skip to content

Instantly share code, notes, and snippets.

@rbellamy
Last active August 29, 2015 14:01
Show Gist options
  • Save rbellamy/890f6f968803248670f1 to your computer and use it in GitHub Desktop.
Save rbellamy/890f6f968803248670f1 to your computer and use it in GitHub Desktop.
Just return the installed package names - used to send a list to pacman for action.
pacman -Qs $1 | awk 'NR % 2 != 0 { print $1 }' | sed 's/local\///'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment