Created
October 2, 2015 08:16
-
-
Save hokuma/abef57cf8a3f12048ea2 to your computer and use it in GitHub Desktop.
tab2space
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
#!/bin/sh | |
scss_files=`find app/assets/stylesheets -name "*.scss"` | |
for filepath in ${scss_files} | |
do | |
sed -i .orig s/$'\t'/' '/g ${filepath} | |
rm ${filepath}.orig | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment