Skip to content

Instantly share code, notes, and snippets.

@lndbrg
Created August 31, 2011 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lndbrg/1184673 to your computer and use it in GitHub Desktop.
Save lndbrg/1184673 to your computer and use it in GitHub Desktop.
uniq the packages
uniq <( for i in $(ghc-pkg check 2>&1 | grep 'There are problems' | cut -d' ' -f6 ); do echo ${i%-*}; done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment