Skip to content

Instantly share code, notes, and snippets.

@lndbrg
Created August 31, 2011 20:01
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/1184550 to your computer and use it in GitHub Desktop.
Save lndbrg/1184550 to your computer and use it in GitHub Desktop.
ghc-pkg, there are problems.
ghc-pkg check 2>&1 | grep 'There are problems'
or for the awker:
ghc-pkg check 2>&1 | awk '/There are problems/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment