Last active
August 29, 2015 14:08
-
-
Save PaulMougel/255c51d74c34eafaa654 to your computer and use it in GitHub Desktop.
Fix material-design-icons CSS classes
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
set -e | |
for filename in *.css | |
do | |
category=${filename%.*} | |
category=${category#sprite-} | |
sed "s/^\.icon/\.icon-$category/" < $filename > $filename.new | |
mv -f $filename.new $filename | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment