Last active
July 28, 2016 02:45
-
-
Save calcsam/a9ad6e8bb13ad4032994713085d02787 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumes all class names start on new line like: | |
# .class-name { | |
cat path/to/file.scss | grep '^\.' | sed 's/\.//' | sed 's/ {//' | xargs -I % bash -c 'if ! grep -q -s -r --include \*.jsx -m 1 % *; then echo %; fi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment