Skip to content

Instantly share code, notes, and snippets.

@PaulMougel
Last active August 29, 2015 14:08
Show Gist options
  • Save PaulMougel/255c51d74c34eafaa654 to your computer and use it in GitHub Desktop.
Save PaulMougel/255c51d74c34eafaa654 to your computer and use it in GitHub Desktop.
Fix material-design-icons CSS classes
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