Created
October 20, 2012 21:38
-
-
Save bugsysop/3924906 to your computer and use it in GitHub Desktop.
Getting Started With the _s Theme
This file contains hidden or 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 | |
| # Joel Kirchartz | |
| # http://themeshaper.com/2012/02/21/getting-started-with-the-underscores-theme/comment-page-1/#comment-73697 | |
| printf "What do you want to name your _s theme? " | |
| read -e NAME | |
| cp -rf _s $NAME | |
| find ./$NAME/ -type f | xargs perl -pi -e "s/'_s'/'$NAME'/g" | |
| find ./$NAME/ -type f | xargs perl -pi -e "s/_s_/$NAME_/g" | |
| find ./$NAME/ -type f | xargs perl -pi -e "s/ _s/ $NAME/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment