Skip to content

Instantly share code, notes, and snippets.

@ei-grad
Created February 4, 2016 09:51
Show Gist options
  • Save ei-grad/6c8b0edc26780180b195 to your computer and use it in GitHub Desktop.
Save ei-grad/6c8b0edc26780180b195 to your computer and use it in GitHub Desktop.
#!/bin/sh
git grep -h import | sed -e 's/ *from \([^ ]\+\) import.*/\1/g' -e 's/ *import \([^ ]\+\).*$/\1/' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment